bloc_presentation 1.1.2+3 copy "bloc_presentation: ^1.1.2+3" to clipboard
bloc_presentation: ^1.1.2+3 copied to clipboard

Dispatch single-time side effects (navigation / snackbar / dialog) from Bloc or Cubit without polluting state.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add bloc_presentation

This 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+3

Alternatively, 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';
87
likes
160
points
63.9k
downloads

Documentation

API reference

Publisher

verified publisherleancode.co

Weekly Downloads

Dispatch single-time side effects (navigation / snackbar / dialog) from Bloc or Cubit without polluting state.

Repository (GitHub)
View/report issues

Topics

#bloc #cubit #architecture #side-effects #navigation

License

Apache-2.0 (license)

Dependencies

flutter, flutter_bloc, nested

More

Packages that depend on bloc_presentation