menu
flutter_custom_bloc package
documentation
flutter_custom_bloc.dart
BlocProvider<T extends Bloc>
BlocProvider constructor
BlocProvider constructor
dark_mode
light_mode
BlocProvider<
T extends Bloc
>
constructor
BlocProvider<
T extends Bloc
>
(
{
Key
?
key
,
required
Widget
child
,
required
T
create
(),
})
Implementation
BlocProvider({ super.key, required super.child, required T Function() create, }) : value = create();
flutter_custom_bloc package
documentation
flutter_custom_bloc
BlocProvider<T extends Bloc>
BlocProvider constructor
BlocProvider class