Search code examples
flutterflutter-redux

Should I install redux if I already have installed flutter_redux


I was setting up my app to use redux and had just installed flutter_redux but noticed that class Store was not found to import which should be passed to StoreProvider. After installing redux package separately, imports were available. The site says that redux is a dependency of this library so why should I install redux separately?


Solution

  • flutter_redux is a package for flutter side and can call builder after state change and redux package is a dart side package for handle state and you should add fultter_redux and redux to your dependency

    A set of utilities that allow you to easily consume a Redux Store to build Flutter Widgets.

    This package is built to work with Redux.dart 3.0.0+.