side_effect_cubit 1.0.0 copy "side_effect_cubit: ^1.0.0" to clipboard
side_effect_cubit: ^1.0.0 copied to clipboard

"An extension to the bloc state management library which serve an additional stream for events that should be consumed only once"

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add side_effect_cubit

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

dependencies:
  side_effect_cubit: ^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:side_effect_cubit/side_effect_cubit.dart';
0
likes
120
pub points
51%
popularity

Publisher

verified publishersontieu.dev

"An extension to the bloc state management library which serve an additional stream for events that should be consumed only once"

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc, provider

More

Packages that depend on side_effect_cubit