BlocProvider<B extends StateStreamableSource<S> , S> constructor
const
BlocProvider<B extends StateStreamableSource<S> , S> ({
- Key? key,
- required Create<
B> create, - Widget builder(
- BuildContext context,
- S state,
- B bloc
- Widget? child,
- dynamic init(
- BuildContext context,
- B bloc
Implementation
const BlocProvider({super.key, required this.create, this.builder, this.child, this.init});