depend 5.2.0
depend: ^5.2.0 copied to clipboard
depend simplifies dependency management in Flutter apps, providing easy initialization and access to services across the widget tree.
5.2.0 #
- Add the
LazyDisposableinterface, implemented byLazyGetandLazyFutureGet - Add an optional
disposecallback and adispose()method toLazyGetandLazyFutureGet. The factory is not called if nothing was created, and the nextinstanceaccess afterdispose()creates a new object - Fix
DependencyScoperecreating the container and losing the subtree state on every parent rebuild - Fix
DependencyScopeleaking a container still being created when the scope was removed, and disposing a container twice - Fix a synchronous throw in
DependencyFactory.createbypassingerrorBuilder - Behavior change:
DependencyScopereadsfactoryonce, a new factory no longer recreates the container. Give the scope a new key instead, e.g.ValueKey(userId) - Fix
LazyFutureGetcaching a failed load forever: the nextinstanceaccess retries - Fix
LazyFutureGetcalling the factory again when it resolved tonull - Fix
LazyGetandLazyFutureGetdocumentation examples that used a call instead of.instance - Rewrite the example as a todo app with nested scopes, Clean Architecture layers and widget tests
- Fix the lazy initialization examples in the README
- Run CI on the Flutter version from
.fvmrc, also onmasterand on test changes
5.1.5 #
- Fix
homepage: pointed atwww.contributors.info, a host that does not resolve; it now points at the repository - Drop the
fundinglink: the Patreon page it named returns 404 - Refresh the README badge row
5.1.4 #
- Update version flutter
5.1.3 #
- Test lazy initialization
5.1.2 #
- Fix lazy initialization
5.1.1 #
- Refactor lazy initialization
5.1.0 #
- Add lazy initialization dependency
5.0.2 #
- Change README
5.0.1 #
- DependencyFactory method create return FutureOr
5.0.1-dev #
- DependencyFactory method create return FutureOr
5.0.0 #
- DependencyFactory for initialize DependencyContainer
5.0.0-dev #
- DependencyFactory for initialize DependencyContainer
4.0.0 #
- Big Refactoring
3.0.0 #
- Rename classes, all test passed, change readme
2.0.3 #
- Fix dispose
2.0.2 #
- Fix Example
2.0.1 #
- Add dispose for DependencyLibrary
2.0.0 #
- Fix bugs, Add new feature, parent dependency
1.0.4 #
- Fix bugs
1.0.3 #
- Fix documentation
1.0.2 #
- Fix async bugs
1.0.1 #
- New Description
1.0.0 #
- Add new feature.
0.0.1 #
- Initial release.
