flutter_simple_dependency_injection
A super simple dependency injection implementation for flutter that behaves like any normal IOC container and does not rely on mirrors
2.0.0
3.3K downloads/mo
#4499 most downloaded on pub.dev
jonsamwell/flutter_simple_dependency_injection
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Some releases are documented
notes for 3 of 12 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
12 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
12 releases · Jun 2018 to Apr 2021Releases
latest 12-
2.0.014 Apr 2021Release notes
Open source →[2.0.0] - 15/04/2021
- Stable null safety release
- BREAKING CHANGE: the deprecated method
Injector.getInjector()has now been removed in favour of the factory constructor. - Added the ability to allow the injector mapping to be reassigned at runtime using the parameter
allowFutureReassignment
-
1.0.426 Oct 2020Release notes
Open source →[1.0.4] - 26/10/2020
- Various code optimizations.
- Api now allows for method chaining so make mapping more concise.
- Silent removing of non existing mappings (without throwing exceptions).
- The Injector class now has a factory constructor. An Injector instance can be instantiated
in a more concise way thanInjector.getInjector()which is now marked as deprecated.
// example with introduced changes final injector = Injector(); injector.map<SomeType>((injector) => SomeType("0")) ..map<SomeType>((injector) => SomeType("1"), key: "One") ..map<SomeType>((injector) => SomeType("2"), key: "Two");
-
1.0.310 Aug 2020Release notes
Open source →Added the ability to remove a mapping and check if a mapping is present in the injector
-
1.0.218 Dec 2019Nothing published for this version
-
1.0.2+124 Dec 2019Nothing published for this version
-
1.0.105 Mar 2019Nothing published for this version
-
1.0.029 Oct 2018Nothing published for this version
-
0.0.525 Aug 2018Nothing published for this version
-
0.0.405 Jul 2018Nothing published for this version
-
0.0.330 Jun 2018Nothing published for this version
-
0.0.228 Jun 2018Nothing published for this version
-
0.0.128 Jun 2018Nothing published for this version