genui_gen_builder library

Build-time generator for genui_gen.

You normally do not import this library: add genui_gen_builder to dev_dependencies and run dart run build_runner build. The builder is picked up automatically through build.yaml.

The entry point is exported here for completeness and for tooling that constructs builders programmatically.

Classes

CatalogAggregatingBuilder
Collects the generated catalog items of a package into a single library.
GenUiDataGenerator
Generates the schema and the decoder for every class annotated with @GenUiData.
GenUiGenerator
Generates a CatalogItem for every class annotated with @GenUiWidget.

Constants

generatedFileHeader → const String
Header written at the top of every file this package generates.

Functions

genUiCatalogBuilder(BuilderOptions options) → Builder
Creates the builder that collects every generated CatalogItem in the package into a single lib/genui_catalog.g.dart.
genUiGenBuilder(BuilderOptions options) → Builder
Creates the builder that turns @GenUiWidget and @GenUiData classes into <file>.genui.dart part files.