event_bus_manager_flutter library
Flutter State lifecycle support for EventBusManager.
Classes
- EventBusManager
- A global, asynchronous broadcast event bus.
- EventBusOwnerScope
-
A lightweight scope that associates subsequent listeners with
owner. - EventBusSubscriptionOwner
- A framework-independent owner for event subscriptions.
-
EventSubscription<
T> -
A subscription to events of type
T. - EventSubscriptionHandle
- A cancellable subscription managed by EventBusManager.
- EventSubscriptionOwner
- Receives subscriptions that should be cancelled with a lifecycle owner.
Mixins
- EventManagerMixin
- Adds framework-independent event subscription ownership to any object.
-
EventManagerStateMixin<
T extends StatefulWidget> - Automatically cancels owned event subscriptions when a State is disposed.