fast_event_bus 2.0.2 icon indicating copy to clipboard operation
fast_event_bus: ^2.0.2 copied to clipboard

An event sending tool, convenient and fast, can be used across pages

fluttereventbus #

注册的方法

EventBus.getDefault().register(key, (message) { print(message); });

发送的方法

eventSend(key, data: "msg");

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
120
pub points
47%
popularity

Publisher

unverified uploader

An event sending tool, convenient and fast, can be used across pages

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on fast_event_bus