flutter_redux 0.3.4 copy "flutter_redux: ^0.3.4" to clipboard
flutter_redux: ^0.3.4 copied to clipboard

outdatedDart 1 only

A library that connects Widgets to a Redux Store

Changelog #

0.3.4 #

  • Fix Changelog.

0.3.3 #

  • Optional 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.
  • Move to github

0.3.2 #

  • Optional 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.
  • Documentation updates

0.3.1 #

  • 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 handle when to update your own Widgets.

0.3.0 #

  • Make StoreProvider.of a factory rather than a static method
  • Additional documentation based on questions from the community

0.2.0 #

  • Update for Redux 2.0.0

0.1.1 #

  • Update documentation

0.1.0 #

Initial Version of the library.

  • Includes the ability to pass a Redux Store down to descendant Widgets using a StoreProvider.
  • Includes the StoreConnector and StoreBuilder Widgets that capture the Store from the StoreProvider and build a Widget in response.
513
likes
0
pub points
97%
popularity

Publisher

verified publisherbrianegan.com

A library that connects Widgets to a Redux Store

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, meta, redux

More

Packages that depend on flutter_redux