flutter_ioc 2.2.0
flutter_ioc: ^2.2.0 copied to clipboard
A standard interface providing inversion of control services to Dart or Flutter applications.
2.2.0 #
- Adds support for registerFactoryAsync
- Adds support for getAsync
- Adds support for getAll
- Adds support for getAllAsync
- Add hasScope
2.1.0 #
- Adds the
Iocalias to allow developers to access theIocContainerclass in a shorter way.
2.0.0 #
- BREAKING CHANGE: Removes the hard dependency on
get_it, which means:- Developers manually need to register an implementation of the
IocContainerclass using theIocContainer.registerContainermethod. - The
IocContainer.containerfield will no longer return a default implementation.
- Developers manually need to register an implementation of the
1.2.0 #
- Adds support for creating and removing scopes to the IoC container.
- Adds support to reset a registered lazy-singleton. Resetting a lazy-singleton will instruct the IoC container to create a new instance of the lazy-singleton next time it is accessed.
- Allows support for registering a
onDisposecallback for singleton and lazy-singleton registrations. This callback will be called when a singleton or lazy-singleton is destroyed and could be used to clean up additional resources.
1.1.0 #
- Adds support for reassigning registrations that were made earlier.
1.0.0 #
- Initial version.