eventsubscriber library
Flutter support for Event
Provides an extensible Widget that supports subscribing to an Event. The Widget updates (rebuilds) when the Event occurs.
Classes
-
EventSubscriber<
T extends EventArgs> -
////////////
Represents a Widget that supports subscribing to an
Event
, that updates (rebuilds) when theEvent
occurs. -
EventSubscriberState<
T extends EventArgs> - ////////////
Typedefs
-
EventFunc<
T extends EventArgs> = Widget Function(BuildContext context, EventStatus status, T args) -
A function definition that returns a Widget, given a context,
EventStatus
, andEventArgs
orEventArgs
derived object.