bloc_one_shot 0.1.0 copy "bloc_one_shot: ^0.1.0" to clipboard
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_shot

With Flutter:

 $ flutter pub add bloc_one_shot

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

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

Publisher

verified publisheraltumstack.com

Weekly Downloads

A side-effect system for Flutter BLoC. Provides a buffered EffectController, SideEffectMixin for Bloc/Cubit, and global EffectObserver for logging and analytics.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

bloc

More

Packages that depend on bloc_one_shot