BlocBuilder<T> constructor

const BlocBuilder<T>({
  1. required BlocBuilderCreateDelegate<T> create,
  2. required BlocBuilderDelegate<T> builder,
  3. Widget? child,
  4. 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,
});