easy_event_bus 0.8.2 easy_event_bus: ^0.8.2 copied to clipboard
It's an easy-to-use and elegant event bus-based library.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add easy_event_bus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
easy_event_bus: ^0.8.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:easy_event_bus/easy_event_bus.dart';