SystemProviders<S, E> constructor

const SystemProviders<S, E>({
  1. Key? key,
  2. required Create<System<S, E>> create,
  3. bool provideState = true,
  4. bool provideStates = false,
  5. bool provideDispatch = true,
  6. Equals<S>? stateEquals,
  7. TransitionBuilder? builder,
  8. Widget? child,
})

Implementation

const SystemProviders({
  super.key,
  required this.create,
  this.provideState = true,
  this.provideStates = false,
  this.provideDispatch = true,
  this.stateEquals,
  this.builder,
  super.child,
}) : assert(
  provideState || provideStates || provideDispatch,
  'SystemProviders should at least provide one of `state`, `states` or `dispatch`'
);