bloc_plus 0.4.0
bloc_plus: ^0.4.0 copied to clipboard
Async helpers for Cubits, one-off effects kept out of the state, rebuild conditions and widgets that hand the bloc to callbacks, for flutter_bloc.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bloc_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bloc_plus: ^0.4.0Alternatively, 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:bloc_plus/bloc_plus.dart';