BlocBuilder<B extends StateStreamable<S>, S> constructor

BlocBuilder<B extends StateStreamable<S>, S>({
  1. required Widget builder(
    1. BuildContext context,
    2. S state,
    3. B bloc
    )?,
  2. dynamic init(
    1. BuildContext context,
    2. B bloc
    )?,
  3. Key? key,
  4. Widget? child,
})

Implementation

BlocBuilder({required this.builder, this.init, super.key, this.child}) {
  assert(child != null || builder != null);
}