bloc_presentation library
Classes
-
BlocPresentationListener<
B extends BlocPresentationMixin< dynamic, P> , P> - A widget that listens to events from a bloc or cubit and invokes a listener function in response to new events.
Mixins
-
BlocPresentationMixin<
S, P> -
BlocPresentationMixin adds a presentation stream to a
BlocBase
which is automatically disposed.
Typedefs
-
BlocPresentationWidgetListener<
P> = void Function(BuildContext context, P event) -
Signature for the
listener
function which takes theBuildContext
along with theevent
and is responsible for executing in response to new events.