bloc_one_shot 0.1.0
bloc_one_shot: ^0.1.0 copied to clipboard
A side-effect system for Flutter BLoC. Provides a buffered EffectController, SideEffectMixin for Bloc/Cubit, and global EffectObserver for logging and analytics.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bloc_one_shotWith Flutter:
$ flutter pub add bloc_one_shotThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bloc_one_shot: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bloc_one_shot/bloc_one_shot.dart';