redux_stream2 1.0.0+2 copy "redux_stream2: ^1.0.0+2" to clipboard
redux_stream2: ^1.0.0+2 copied to clipboard

Redux Architecture for Flutter 3.0+. fork from https://github.com/vivitainc/flutter_redux_stream

redux_stream

Github Actions

Features #

Redux をFlutterで実現するためのフレームワーク。

Reduxの処理がFutureではなくStreamで実装されており、Event等の通知に応用することができる.

下記の機能が実装済み

  • State Interface
    • Reduxのステートを保持する
    • 常にImmutableとして実装すること
  • Action Interface
    • Stateの操作処理を定義する
  • Store
    • 現在のStateを保持する
    • Stateの変更はStreamで通知する
  • Plugin
    • Store動作をハンドリング/拡張するためのインターフェースを提供する
    • Actionとは異なりState操作は行えないが、Stateの変動を検出したり、追加のリソースを管理したり、任意のタイミング(例えば毎秒1回)でActionを発行する等で使用する

特性上データコピーが頻発するため、低スペック端末に対応する場合は十分に注意して実装すること.

Usage #

TODO.

1
likes
100
points
3
downloads

Publisher

unverified uploader

Weekly Downloads

Redux Architecture for Flutter 3.0+. fork from https://github.com/vivitainc/flutter_redux_stream

Documentation

API reference

License

MIT (license)

Dependencies

async_notify, flutter, logger, meta, rxdart

More

Packages that depend on redux_stream2