BlocListener<E, S> constructor
const
BlocListener<E, S> ({
- Key? key,
- required Bloc<
E, S> bloc, - required BlocWidgetListener<
S> listener, - required Widget child,
- BlocListenerCondition<
S> ? listenWhen,
Implementation
const BlocListener({
Key? key,
required this.bloc,
required this.listener,
required this.child,
this.listenWhen,
}) : super(key: key);