injector 1.0.6 copy "injector: ^1.0.6" to clipboard
injector: ^1.0.6 copied to clipboard

outdated

injector is a simple to use and lightweight dependency injection library for dart

1.0.6 #

  • Add remove dependency method
  • Add override dependencies property

1.0.5 #

  • Breaking Changes! Injector is not a singleton. You can use it like a singleton with the static instance Injector.appInstance
  • You can register your dependencies with a name. But be careful, you need always the generic type! It looks like Injector.allInstance.registerDependency<UserService>((injector) => UserServiceImpl), dependencyName: "MyCustomName");

1.0.4 #

  • Add some documentation for each class

1.0.3 #

  • Change license from BSD-3 to Apache 2

1.0.2 #

  • Upgrade analysis_options.yaml
  • Add missing Cast ("as T")
  • Add Test - Cycle dependencies

1.0.1 #

  • Upgrade pubspec.yaml (Change dart sdk constraint)
  • Update README.md
  • Update Description

1.0.0 #

  • Create package,
  • Add Injector class
  • Add unit tests for "Injector"
  • Add example - How to deal with the injector / dependency injector
57
likes
0
pub points
92%
popularity

Publisher

unverified uploader

injector is a simple to use and lightweight dependency injection library for dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on injector