BlocBuilder<E, S> constructor

const BlocBuilder<E, S>({
  1. Key? key,
  2. BlocBuilderCondition<S>? buildWhen,
  3. required BlocWidgetBuilder<S> builder,
  4. required Bloc<E, S> bloc,
})

Implementation

const BlocBuilder({
  Key? key,
  this.buildWhen,
  required this.builder,
  required this.bloc,
}) : super(key: key);