Skip to main content

flat_buffers_generator 1.0.1 copy "flat_buffers_generator: ^1.0.1" to clipboard
flat_buffers_generator: ^1.0.1 copied to clipboard

A build_runner builder for generating Dart code from FlatBuffers schema (.fbs) files using flatc.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flat_buffers_generator

With Flutter:

 $ flutter pub add flat_buffers_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flat_buffers_generator: ^1.0.1

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_generator/flat_buffers_generator.dart';
1
likes
160
points
360
downloads

Documentation

API reference

Publisher

verified publisherlouispoirier.io

Weekly Downloads

A build_runner builder for generating Dart code from FlatBuffers schema (.fbs) files using flatc.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

build, glob, path

More

Packages that depend on flat_buffers_generator