BlocConsumer<B extends StateStreamable<S> , S> constructor
const
BlocConsumer<B extends StateStreamable<S> , S> ({
- required Widget builder(
- BuildContext context,
- S state,
- B bloc
- required BlocWidgetListener<
S> listener, - Key? key,
Implementation
const BlocConsumer({required this.builder, required this.listener, super.key});