BlocBuilder<B extends StateStreamable<S> , S> constructor
BlocBuilder<B extends StateStreamable<S> , S> ({
- required Widget builder(
- BuildContext context,
- S state,
- B bloc
- dynamic init(
- BuildContext context,
- B bloc
- Key? key,
- Widget? child,
Implementation
BlocBuilder({required this.builder, this.init, super.key, this.child}) {
assert(child != null || builder != null);
}