bloc_action_listener 1.0.2 copy "bloc_action_listener: ^1.0.2" to clipboard
bloc_action_listener: ^1.0.2 copied to clipboard

Package adds a stream to which you can send actions from your Bloc or Cubit and process these actions on the UI similar to a BlocListener

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add bloc_action_listener

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  bloc_action_listener: ^1.0.2

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_action_listener/bloc_action_listener.dart';
19
likes
140
points
39
downloads

Publisher

verified publisherlanars.com

Weekly Downloads

Package adds a stream to which you can send actions from your Bloc or Cubit and process these actions on the UI similar to a BlocListener

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, flutter_bloc, provider

More

Packages that depend on bloc_action_listener