BuildController<T> constructor

const BuildController<T>({
  1. Key? key,
  2. required Map<Type, Widget Function(T state)> actions,
  3. Map<Type, void Function(T state, BuildContext context)>? listeners,
  4. required ValueNotifier<T> controller,
  5. dynamic buildWhen(
    1. T state
    )?,
})

Implementation

const BuildController({
  Key? key,
  required this.actions,
  this.listeners,
  required this.controller,
  this.buildWhen,
}) : super(key: key);