BlocWidgetSideEffectListener<C> typedef

BlocWidgetSideEffectListener<C> = void Function(BuildContext context, C sideEffect)

Signature for the listener function which takes the BuildContext along with the side effect.

Implementation

typedef BlocWidgetSideEffectListener<C> = void Function(
  BuildContext context,
  C sideEffect,
);