StoreProvider<S> constructor

const StoreProvider<S>({
  1. Key? key,
  2. required Store<S> store,
  3. required Widget child,
})

Create a StoreProvider by passing in the required store and child parameters.

Implementation

const StoreProvider({
  Key? key,
  required Store<S> store,
  required Widget child,
})  : _store = store,
      super(key: key, child: child);