simple_refresh_bus 1.0.0
simple_refresh_bus: ^1.0.0 copied to clipboard
A lightweight event bus for cross-cubit state synchronization in Flutter BLoC apps. Zero config, type-safe refresh signals and data passing.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_refresh_busThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
simple_refresh_bus: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_refresh_bus/simple_refresh_bus.dart';