simple_refresh_bus 1.0.0 copy "simple_refresh_bus: ^1.0.0" to clipboard
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_bus

This 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.0

Alternatively, 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';
1
likes
150
points
71
downloads

Publisher

verified publisherkeep-it-simple.dev

Weekly Downloads

A lightweight event bus for cross-cubit state synchronization in Flutter BLoC apps. Zero config, type-safe refresh signals and data passing.

Repository (GitHub)
View/report issues

Topics

#bloc #cubit #state-management #event-bus #flutter

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc

More

Packages that depend on simple_refresh_bus