flowdux_flutter 0.3.0 copy "flowdux_flutter: ^0.3.0" to clipboard
flowdux_flutter: ^0.3.0 copied to clipboard

Flutter bindings for FlowDux state management library. Provides StoreScope, 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.3.0 - 2026-04-28 #

Added #

  • StoreScope widget — lifecycle-aware provider that creates a Store exactly once via create and closes it on dispose. Safe to use inside PageRoute builders and other contexts where the build function may be invoked repeatedly. (#286)

0.2.5 - 2026-02-04 #

Fixed #

  • Fix selector not recalculating when selector function instance changes in didUpdateWidget
  • Fix StoreConsumer listener firing on every rebuild instead of only on real state changes
  • Replace StreamBuilder with StreamSubscription in _SelectorBuilder and StoreSelector for optimized rebuilds

Changed #

  • Update flowdux dependency from ^0.2.3 to ^0.3.1

0.2.4 - 2026-01-24 #

Changed #

  • Improve README documentation with comprehensive examples
  • Fix flowdux link to point to pub.dev instead of relative path
  • Fix license badge (MIT -> Apache 2.0)
  • Update installation section with both flowdux and flowdux_flutter dependencies

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 tree

    • StoreProvider.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>() and context.dispatch<S, A>(action)
  • StoreBuilder - Widget that rebuilds when store state changes

    • Optional store parameter for direct store injection
    • Optional selector for optimized rebuilds
  • 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 listener for side effects
  • StoreListener - Widget for side effects without rebuilding

    • listenWhen predicate 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
0
likes
160
points
47
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Flutter bindings for FlowDux state management library. Provides StoreScope, StoreProvider, StoreBuilder, and StoreConsumer widgets.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flowdux, flutter

More

Packages that depend on flowdux_flutter