zam_event_bus_provider 0.0.1 copy "zam_event_bus_provider: ^0.0.1" to clipboard
zam_event_bus_provider: ^0.0.1 copied to clipboard

outdated

A provider for flutter that passes EventBus down to all the widgets.

Event Bus Provider #

A flutter provider that passes EventBus down to all the widgets.

Version Build Stars License

What's inside the package #

Includes the following core components.

Check out all the components in detail here

How to use #

void main() {
  final bus = EventBus(transformers);

  // Add EventBusProvider before MaterialApp so that
  // it is made available to all the routes.
  final app = EventBusProvider(
    bus: bus,
    child: MaterialApp(
      home: MyHomePage(title: 'Event Bus Demo'),
    ),
  );
  runApp(app);
}

To learn more, move on to the example section or check out this dedicated example in github.

Contributors #

0
likes
0
points
4
downloads

Publisher

verified publisherzamstation.com

Weekly Downloads

A provider for flutter that passes EventBus down to all the widgets.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, zam_core, zam_event_bus

More

Packages that depend on zam_event_bus_provider