genui_gen 0.4.0 copy "genui_gen: ^0.4.0" to clipboard
genui_gen: ^0.4.0 copied to clipboard

Annotations and runtime helpers to generate genui CatalogItems 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_gen

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

dependencies:
  genui_gen: ^0.4.0

Alternatively, 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';
0
likes
150
points
267
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotations and runtime helpers to generate genui CatalogItems from your own Flutter widgets. Derive the schema from the constructor so the catalog can never drift.

Repository (GitHub)
View/report issues
Contributing

Topics

#genui #generative-ui #codegen #a2ui #ai

License

MIT (license)

Dependencies

flutter, genui, json_schema_builder, meta

More

Packages that depend on genui_gen