flowdux_flutter 0.2.3
flowdux_flutter: ^0.2.3 copied to clipboard
Flutter bindings for FlowDux state management library. Provides StoreProvider, StoreBuilder, and StoreConsumer widgets.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.3 - 2026-01-24 #
Changed #
- Update flowdux dependency to ^0.2.3 (includes distinct state emission fix)
0.2.2 - 2026-01-23 #
Changed #
- Update flowdux dependency to ^0.2.2 (includes middleware blocking fix)
0.2.1 - 2026-01-23 #
Changed #
- Fix LICENSE file format to standard Apache 2.0 template for pub.dev recognition
- Update flowdux dependency to ^0.2.1
0.2.0 - 2026-01-23 #
Changed #
- Fix LICENSE format for pub.dev OSI license recognition
- Update flowdux dependency to ^0.2.0
0.1.0 - 2024-01-21 #
Added #
-
StoreProvider- InheritedWidget for providing store to widget treeStoreProvider.of<S, A>()- Get store from context (throws if not found)StoreProvider.maybeOf<S, A>()- Get store from context (returns null if not found)- Context extensions:
context.store<S, A>()andcontext.dispatch<S, A>(action)
-
StoreBuilder- Widget that rebuilds when store state changes- Optional
storeparameter for direct store injection - Optional
selectorfor optimized rebuilds
- Optional
-
StoreSelector- Optimized widget that only rebuilds when selected value changes- Type-safe selector function
- Efficient comparison to prevent unnecessary rebuilds
-
StoreConsumer- Combined builder and listener widget- Access to both store and state in builder
- Optional
listenerfor side effects
-
StoreListener- Widget for side effects without rebuildinglistenWhenpredicate for conditional listening- Callbacks are scheduled after frame to avoid build-time navigation issues
Notes #
- Requires Flutter >= 3.10.0
- Requires Dart SDK >= 3.0.0
- Depends on flowdux ^0.1.0