event_dart 2.0.1 icon indicating copy to clipboard operation
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);
1
likes
140
pub points
16%
popularity

Publisher

unverified uploader

Simple, complete and intuitive event emitter written in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

More

Packages that depend on event_dart