userA2uiCatalogBuilder function
Builder
userA2uiCatalogBuilder(
- BuilderOptions options
build_runner factory entry point for the package-wide A2UI catalog emitter.
Walks every lib/**.dart for @RestageWidget-annotated classes, assembles
the analyzer-fed A2UI seams off the resolved elements, and emits a single
lib/restage_a2ui_catalog.g.dart declaring buildRestageCatalogItems() (the
genui Catalog source) plus the companion restage_a2ui_catalog.a2ui.json
capability stamp. Opt-in (not applied to dependents) — the emitted code
imports the genui runtime, so a consumer enables it only when they want an
A2UI catalog.
Implementation
Builder userA2uiCatalogBuilder(BuilderOptions options) =>
UserA2uiCatalogBuilder(options);