event_dart 2.0.1 copy "event_dart: ^2.0.1" to clipboard
event_dart: ^2.0.1 copied to clipboard

Simple, complete and intuitive event emitter written in Dart

event_dart - Create an event emitter and listen for events #

Usage #

You can use strings to identify the event, and provide additional data separately:

// to subscribe:
emitter.on('success', (String r) => doStuff(r));
// to emit:
emitter.emit('success', result_var);
0
likes
150
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

Simple, complete and intuitive event emitter written in Dart

Documentation

API reference

License

MIT (license)

More

Packages that depend on event_dart