genui_gen 0.15.0
genui_gen: ^0.15.0 copied to clipboard
Annotations and runtime helpers to generate a2ui_flutter components from your own Flutter widgets. Derive the schema from the constructor so the catalog can never drift.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add genui_genThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
genui_gen: ^0.15.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:genui_gen/genui_gen.dart';