impulse_flutter 0.11.0
impulse_flutter: ^0.11.0 copied to clipboard
Minimalist state management and dependency injection.
0.11.0 #
- Fixed widgets losing their binding when moved in the widget tree (e.g.
GlobalKeyreparenting). Deactivation no longer unbinds; disposal settles at the end of the frame. - Fixed a store swap resetting a user-provided store.
Disposables.managednow runs the custom dispose callback for objects replaced on reassemble.- Updated dependency on
impulseto^0.11.0. - Removed the unused type parameter from
FlutterReactivityDelegate. - Requires Dart
3.12or newer.
0.10.0 #
- Fixed outdated code documentation and README example.
- Updated dependency on
impulseto^0.10.0.
0.9.1 #
- Added the
Disposablesmixin for managing disposal of widget-local state objects.managedfollows the samecreate/reassemble/disposecontract as references and disposes through the store's reactivity system.
0.9.0 #
- Updated dependency on
impulseintroducing breaking changes. - Removed the global
$storebecause it is considered an anti pattern within flutter, and i found i never actually used it. - Fixed a critical bug where new objects instantiated after a
Storeswap inStoreScopewould not be tracked for disposal.
0.7.0 #
- Updated dependency on
impulseintroducing breaking changes - Added
AsyncBuilder, renamedResultSelectortoAsyncSelector
0.6.3 #
- added
ResultBuilderwidget
0.6.2 #
- updated dependency constraints
0.6.1 #
- updated example and documentation
- bumped version to match version of other packages
0.6.0 #
- Bumped dependency package versions.
- Jumped versions to sync up with the other packages
0.4.0 #
- Made
context.readuse get theStoreScopewidget instead of depending. - Renamed named argument
selectortoselectinSelectorwidget.
0.3.1 #
- Fixed a bug in context.read debug assertion.
0.3.0 #
- Removed ref extensions, use context extensions instead.
- Renamed context extension
bindtouse. - Added an assert to check if an object is left dangling after instantiation through
read
0.2.1 #
- Added
ResultSelectorwidget to select result fields on registered objects. allowing you to easily build loading/error states.
0.2.0 #
- Documentation overhaul.
impulsepackage version bump.- Renamed
oftobind. - Renamed
peektoread. - Added
Selectorwidget. - Added
StoreScope.ofstatic method to get theStoreinstance.
0.1.1 #
- Minor readme improvements
StoreScopenow wont reset the store if it was given as a construction parameter.- Bumped
impulsepackage version number
0.1.0 #
- Initial version.