BlocProvider<T extends Bloc>.value constructor

const BlocProvider<T extends Bloc>.value({
  1. Key? key,
  2. required Widget child,
  3. required T value,
})

Implementation

const BlocProvider.value({
  super.key,
  required super.child,
  required this.value,
});