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
CatalogItemfor 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
CatalogItemin the package into a singlelib/genui_catalog.g.dart. -
genUiGenBuilder(
BuilderOptions options) → Builder -
Creates the builder that turns
@GenUiWidgetand@GenUiDataclasses into<file>.genui.dartpart files.