BlocBuilder<T extends Bloc> constructor

BlocBuilder<T extends Bloc>(
  1. CreateBloc<T> builder
)

Unlike with Provider, you need to specify the generic. Failing to do so will set the generic to Bloc which is probably undesirable.

Implementation

BlocBuilder(this.builder);