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
130
pub points
38%
popularity

Publisher

unverified uploader

Simple, complete and intuitive event emitter written in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on event_dart