bloc_presentation 1.1.2+2
bloc_presentation: ^1.1.2+2 copied to clipboard
Primitives for dispatching single-time side effects (navigation, snackbars, dialogs) from Blocs and Cubits without polluting state. Drop-in BlocPresentationMixin and BlocPresentationListener for one-s [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bloc_presentationThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bloc_presentation: ^1.1.2+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:bloc_presentation/bloc_presentation.dart';