Skip to main content

ag_flow_generator 0.2.0 copy "ag_flow_generator: ^0.2.0" to clipboard
ag_flow_generator: ^0.2.0 copied to clipboard

build_runner code generator for ag_flow — emits static `find` and `instance` accessors on controllers and services from the @AgInject() annotation, so AgLocator.find<T>() never appears at a call site.

Changelog #

0.2.0 #

  • ag_flow dependency updated to ^0.2.0.

0.1.0 #

Initial release.

  • @AgInject() annotation — place on any class extending AgBaseController, AgListController, AgDetailController, AgBaseService, or AgStateService.
  • AgInjectGenerator — build_runner generator that emits a mixin _$FooAgInject with a static find getter (controllers) or instance getter (services), so AgLocator.find<T>() never appears at a call site.
  • agInjectBuilder — SharedPartBuilder factory referenced by build.yaml; auto-applies to any package that lists ag_flow_generator as a dev dependency.
0
likes
130
points
346
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

build_runner code generator for ag_flow — emits static `find` and `instance` accessors on controllers and services from the @AgInject() annotation, so AgLocator.find<T>() never appears at a call site.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

ag_flow, analyzer, build, source_gen

More

Packages that depend on ag_flow_generator