BlocConsumer<B extends StateStreamable<S>, S> constructor

const BlocConsumer<B extends StateStreamable<S>, S>({
  1. required Widget builder(
    1. BuildContext context,
    2. S state,
    3. B bloc
    ),
  2. required BlocWidgetListener<S> listener,
  3. Key? key,
})

Implementation

const BlocConsumer({required this.builder, required this.listener, super.key});