mbus 0.1.1
mbus: ^0.1.1 copied to clipboard
A lightweight and efficient event bus system for Flutter applications. Provides simple event-driven architecture with support for module-based event management and global event broadcasting.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mbusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
mbus: ^0.1.1Alternatively, 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:mbus/mbus.dart';