BloweBlocWidgetListener<T, S extends BloweState<T>> typedef

BloweBlocWidgetListener<T, S extends BloweState<T>> = void Function(BuildContext context, S state)

Typedef for a widget listener function used by BloweBlocListener.

  • context: The BuildContext of the widget.
  • state: The state of the BloweBloc.

Implementation

typedef BloweBlocWidgetListener<T, S extends BloweState<T>> = void Function(
  BuildContext context,
  S state,
);