PackageTrack
Sign in Get early access

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 2021
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 12
  1. 2.0.0 14 Apr 2021
    Release notes

    [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
    Open source →
  2. 1.0.4 26 Oct 2020
    Release notes

    [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 than Injector.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");
    Open source →
  3. 1.0.3 10 Aug 2020
    Release notes

    Added the ability to remove a mapping and check if a mapping is present in the injector

    Open source →
  4. 1.0.2 18 Dec 2019

    Nothing published for this version

  5. 1.0.2+1 24 Dec 2019

    Nothing published for this version

  6. 1.0.1 05 Mar 2019

    Nothing published for this version

  7. 1.0.0 29 Oct 2018

    Nothing published for this version

  8. 0.0.5 25 Aug 2018

    Nothing published for this version

  9. 0.0.4 05 Jul 2018

    Nothing published for this version

  10. 0.0.3 30 Jun 2018

    Nothing published for this version

  11. 0.0.2 28 Jun 2018

    Nothing published for this version

  12. 0.0.1 28 Jun 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive