userA2uiCatalogBuilder function
Builder
userA2uiCatalogBuilder(
- BuilderOptions options
build_runner factory entry point for the package-wide A2UI catalog emitter.
Scans every lib/**.dart and walks the files that spell a
Restage annotation (or an alias of one) for @RestageWidget-annotated
classes, assembles
the analyzer-fed A2UI seams off the resolved elements, and emits a single
lib/generated/restage_a2ui_catalog.g.dart declaring
buildRestageCatalogItems() (the genui Catalog source) plus the colocated
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);