mayr_events 2.1.1 copy "mayr_events: ^2.1.1" to clipboard
mayr_events: ^2.1.1 copied to clipboard

A lightweight, expressive event and listener system for Dart, inspired by Laravel's event architecture.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mayr_events

With Flutter:

 $ flutter pub add mayr_events

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  mayr_events: ^2.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mayr_events/mayr_events.dart';
0
likes
160
points
158
downloads

Publisher

verified publishermayrlabs.com

Weekly Downloads

A lightweight, expressive event and listener system for Dart, inspired by Laravel's event architecture.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#event #listener #architecture #dart #pub

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on mayr_events