flutter_bloc_effects library

Classes

BlocEffectListener<B extends BlocEffectEmitter<E>, E>
Takes a BlocEffectWidgetListener and an optional bloc and invokes the listener in response to effect emissions from the bloc or Cubit.
BlocEffectListenerBase<B extends BlocEffectEmitter<E>, E>
Base class for widgets that listen to effect emissions from a specified Bloc or Cubit which mixes in the BlocEffectEmitter mixin.
MultiBlocEffectListener
Merges multiple BlocEffectListener widgets into one widget tree.

Mixins

BlocEffectEmitter<Effect>

Typedefs

BlocEffectListenerCondition<E> = bool Function(E effect)
An optional listenWhen can be implemented for more granular control over when listener is called.
BlocEffectWidgetListener<E> = void Function(BuildContext context, E effect)
Signature for the listener function which takes the BuildContext along with the emitted effect and is responsible for executing in response to effect emissions.