Skip to main content

flutter_foundation_models_gen 0.1.1 copy "flutter_foundation_models_gen: ^0.1.1" to clipboard
flutter_foundation_models_gen: ^0.1.1 copied to clipboard

Code generator for Flutter Foundation Models. Generates schema and serialization code for @Generable classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_foundation_models_gen

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

dependencies:
  flutter_foundation_models_gen: ^0.1.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_foundation_models_gen/flutter_foundation_models_gen.dart';
1
likes
40
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

Code generator for Flutter Foundation Models. Generates schema and serialization code for @Generable classes.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, flutter_foundation_models_annotations, source_gen

More

Packages that depend on flutter_foundation_models_gen