BlocBuilder<T extends Bloc> constructor
BlocBuilder<T extends Bloc> (
- 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);