FLUTTER ECOSYSTEM

flat_buffers

FlatBuffers reading and writing library for Dart. Based on original work by Konstantin Scheglov and Paul Berry of the Dart SDK team.

Latest version
25.9.23
30-day downloads
203K
Likes
44
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Dart library for reading and writing FlatBuffers, a high-performance serialization format. It enables efficient data exchange between systems with minimal memory overhead and no need for parsing or copying. Built on the original work by Konstantin Scheglov and Paul Berry from the Dart SDK team, it supports cross-platform use across Android, iOS, Web, macOS, Windows, and Linux. Ideal for applications requiring fast, compact data serialization, such as games, real-time systems, and mobile apps.

Use cases
  • High-performance data serialization
  • Cross-platform data exchange
  • Game development
  • Real-time data processing
  • Mobile app data storage
  • Embedded systems
Key features
  • Zero-copy deserialization
  • Minimal memory usage
  • Cross-platform compatibility
  • Fast read/write operations
  • Supports schema definitions
  • Generated code from .fbs files
Suitable for
  • Performance-critical applications
  • Mobile and web apps needing fast data access
  • Games and simulations
  • Data-heavy backend services
  • Systems with limited memory resources
Considerations
  • Requires schema definition (.fbs files)
  • Learning curve for new users
  • Limited human-readable output
  • Not ideal for debugging due to binary format
  • Needs code generation step
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add flat_buffers

Categories

Source repository

Related projects