fish-redux
fish-redux copied to clipboard
An assembled flutter application framework.
enum HomeBaseGoodsAction { action } class HomeBaseGoodsActionCreator { static Action onAction() { return const Action(HomeBaseGoodsAction.action); } } 在 view页面调用dispatch(HomeBaseGoodsActionCreator.onAction()) 在 effect 不会 然后在 reducer.dart 里面接收的时候就会报错 这是我的根 page 页面  这是我的Connector页面...
通过TabBarView创建了2个页面A,B。A页面ctx.broadcast只能传到B页面的effect层,无法传到reducer层。 额外尝试了ctx.dispatch和ctx.broadcastEffect,B页面的effect和reducer都收不到通知。 是我哪里用错了嘛?
Canary version of Android Studio are not support by the fultter plugin
很多时候会遇到引用多个相同component的情况,我建议把 PrivateAction & PrivateReducerMixin 相关的资料写进doc,虽然我很愿意写 = = 但是我不知道怎么下手啊
如果只能做成globalState的话,那么当页面变多之后,为了页面之间共享数据的需求,global state数据会越来越多。
貌似默认值还是false,InheritedWidget的情况下,page的构造函数能不能加个clearOnDependenciesChanged的设置?
**Describe the bug** 示例项目新增全选按钮更新列表,状态不更新 ```dart ToDoListPage 中新增一个按钮 //effect中 void _onSelectAllAdd(Action action, Context ctx) { ctx.dispatch(PageActionCreator.loadSelectAll()); } //reducer中 PageState _loadSelectAll(PageState state, Action action) { final PageState stateClone = state.clone(); stateClone?.toDos?.forEach((ToDoState stateItem)...
``` class CusomObserver extends NavigatorObserver{ @override void didPop(Route route, Route previousRoute) { print("*****************"); print(route); print("*****************"); print(route.navigator.context); print("*****************"); print(route.settings.name); if ("vehicle_manager" == route.settings.name){ PageRoutes pageRoutes = routes as PageRoutes; Page page...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...
RT,WidgetsBindingObserverMixin 是通过 WidgetsBindingObserverMixin 扩展而来,意思是我需要再扩展一个 WidgetsBindingObserverMixin2,官方能不能集成到一个里面