inject_annotation 1.1.0 copy "inject_annotation: ^1.1.0" to clipboard
inject_annotation: ^1.1.0 copied to clipboard

Constructor-based dependency injection for Dart and Flutter, inspired by Dagger. Declare your object graph with annotations; inject_generator wires it at build time.

1.1.0 #

  • Add provision listeners: the @provisionListener annotation and the ProvisionListener interface.
  • Export the annotation classes (Inject, Module, Singleton, Asynchronous, Assisted, AssistedInject, AssistedFactory) alongside the existing const instances.
  • Works with the fully rewritten inject_generator.

1.0.1 #

  • fix analyzer warnings
    • unintended_html_in_doc_comment
    • implementation_imports
    • prefer_function_declarations_over_variables

1.0.0 #

  • first stable release

1.0.0-alpha.5 #

  • update to Dart 3.6.0
  • update dependencies

1.0.0-alpha.4 #

  • update to Dart 3
  • use late final or const in generated code where possible

1.0.0-alpha.3 #

  • Improve pubspec description
  • Update sdk constraints

1.0.0-alpha.2 #

  • Improve documentation

1.0.0-alpha.1 #

  • Initial release
21
likes
160
points
906
downloads

Documentation

Documentation
API reference

Publisher

verified publisherdasralph.de

Weekly Downloads

Constructor-based dependency injection for Dart and Flutter, inspired by Dagger. Declare your object graph with annotations; inject_generator wires it at build time.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #dart #flutter #architecture

License

MIT (license)

Dependencies

meta

More

Packages that depend on inject_annotation