NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1572 most downloaded on pub.dev
A set of utility Widgets that Provide and Connect to a Redux Store
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
25 releases · first in 2017
onDidChange now passed proper old and new value
onDidChange now passed proper old and new valueRemove deprecated null check against WidgetsBinding.instance
WidgetsBinding.instanceOne column per quarter.
Throw Errors from onWillChange and onDidChange callbacks
Nullable ViewModels for callback functions as well as build
* Support nullable ViewModels
Breaking Change: added null-safety
Improved error messages in converters
Breaking Change: onWillChange now receives previous and new ViewModel
onWillChange now receives previous and new ViewModel
Bugfix: Rebuilding the Widget will always rebuild with latest data
Remove dependency on test package, conflicts with latest Flutter
Add onDidChange -- This callback will be run after the ViewModel has changed and the builder method is called
onDidChange -- This callback will be run after the ViewModel has changed and the builder method is called
onInitialBuild -- This callback will be run after the builder method is called the first timeAdd more advice to error message
Updated to work with latest version of Redux: 3.0.0
Update example to wrap entire app with StoreProvider
Works with Dart 2 (no longer supports Dart 1)
StoreProvider now requires generic type info: new StoreProvider<AppState>new StoreProvider.of(context).store is now StoreProvider.of<AppState>(context)Add onWillChange. This function will be called before the builder and can be used for working with Imperative APIs, such as Navigator, TextEditingCont
onWillChange. This function will be called before the builder and can be used for working with Imperative APIs, such as Navigator, TextEditingController, or TabController.Bugfix: onInit was not called before the initial ViewModel is constructed.
onInit was not called before the initial ViewModel is constructed.* Fix Changelog.
Optional onDispose function - The StoreConnector and StoreBuilder Widgets now accept an onDispose function that will be run when the Widget is removed
onDispose function - The StoreConnector and StoreBuilder Widgets now accept an onDispose function that will be run when the Widget is removed from the Widget tree (using State.dispose under the hood). The onDispose function takes the Store as the first parameter, and can be used to dispatch actions that remove stale data from your State tree.
Optional onInit function - The StoreConnector and StoreBuilder Widgets now accept an onInit function that will be run the first time the Widget is cre
onInit function - The StoreConnector and StoreBuilder Widgets now accept an onInit function that will be run the first time the Widget is created (using State.initState under the hood). The onInit function takes the Store as the first parameter, and can be used to dispatch actions when your Widget is first starting up. This can be useful for data fetching.
ignoreChange function - StoreConnector now takes an advanced usage / optional function ignoreChange. It will be run on every store onChange event to determine whether or not the ViewModel and Widget should be rebuilt. This can be useful in some edge cases, such as displaying information that has been deleted from the store while it is animating off screen.Add the ability to build only once, while avoiding rebuilding on change. This can be handy if you need to manage access to the Store, but want to hand
Make StoreProvider.of a factory rather than a static method
StoreProvider.of a factory rather than a static method
* Update for Redux 2.0.0
* Update documentation
Initial Version of the library.
Initial Version of the library.
Store down to descendant Widgets using a StoreProvider.StoreConnector and StoreBuilder Widgets that capture the Store from the StoreProvider and build a Widget in response.Your coding agent can read these notes before it upgrades. Set up the MCP server →