BlocBuilder<T> constructor
const
BlocBuilder<T> ({
- required BlocBuilderCreateDelegate<
T> create, - required BlocBuilderDelegate<
T> builder, - Widget? child,
- Key? key,
Implementation
const BlocBuilder({
/// NOTE: if the create returns a Disposable/ChangeNotifier the `dispose` will be called
/// when the [BlocBuilder] is disposed
required this.create,
required this.builder,
this.child,
super.key,
});