side_effect_cubit 1.0.2
side_effect_cubit: ^1.0.2 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_cubitThis 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.2Alternatively, 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';