injector
injector is a simple to use and lightweight dependency injection library for dart
4.0.0
559K downloads/mo
#485 most downloaded on pub.dev
tappeddev/injector
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.3 years
Most releases are documented
notes for 9 of 14 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
15 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
15 releases · Jul 2018 to Aug 2024Releases
latest 15-
4.0.012 Aug 2024Nothing published for this version
-
3.0.004 Jul 2023Nothing published for this version
-
2.0.015 Mar 2021Nothing published for this version
-
1.0.10-nullsafety.027 Aug 2020 pre-releaseNothing published for this version
-
1.0.926 Aug 2020Release notes
Open source →- Add
getas shortcut forgetDependency - Add deprecated annotation to
getDependency - Some preparations for nullability
- [bug] Fixed the bug, that the library detects a wrong circular dependency (#25)
- Add
-
1.0.810 May 2019 -
1.0.710 May 2019 -
1.0.615 Mar 2019 -
1.0.521 Jan 2019Release notes
Open source →- 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");
- Breaking Changes! Injector is not a singleton.
You can use it like a singleton with the static instance
-
1.0.411 Dec 2018 -
1.0.330 Aug 2018 -
1.0.227 Aug 2018Release notes
Open source →- Upgrade analysis_options.yaml
- Add missing Cast ("as T")
- Add Test - Cycle dependencies
-
1.0.126 Jul 2018Release notes
Open source →- Upgrade pubspec.yaml (Change dart sdk constraint)
- Update README.md
- Update Description
-
0.1.230 Aug 2018Nothing published for this version
-
0.0.105 Jul 2018Nothing published for this version