minibus 1.0.0 copy "minibus: ^1.0.0" to clipboard
minibus: ^1.0.0 copied to clipboard

outdated

An easy to use minimal synchronous event bus to keep your application components decoupled and resusable.

minibus #

A library for a minimal synchronous event bus.

Basic Usage #

A simple usage example:

import 'package:minibus/minibus.dart';
String EVENT = "myevent";

main() {
  MiniBus bus1 = new MiniBus();
  bus1.subscribe(EVENT, (){print('Hello World!')});
  bus1.post(EVENT);
}

Features and bugs #

Please file feature requests and bugs.

Run tests with:

  • pub run test

Check source code formatting:

  • dartfmt -n .
0
likes
40
pub points
37%
popularity

Publisher

unverified uploader

An easy to use minimal synchronous event bus to keep your application components decoupled and resusable.

Repository (GitLab)
View/report issues

License

BSD-3-Clause (LICENSE)

More

Packages that depend on minibus