flat_buffers 23.5.26 flat_buffers: ^23.5.26 copied to clipboard
FlatBuffers reading and writing library for Dart. Based on original work by Konstantin Scheglov and Paul Berry of the Dart SDK team.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flat_buffers
With Flutter:
$ flutter pub add flat_buffers
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flat_buffers: ^23.5.26
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flat_buffers/flat_buffers.dart';