bloc_scope 1.0.0 copy "bloc_scope: ^1.0.0" to clipboard
bloc_scope: ^1.0.0 copied to clipboard

The [bloc_scope] package helps you to easily cancel the futures and streams in case of BLOC or Cubit disposing.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bloc_scope

With Flutter:

 $ flutter pub add bloc_scope

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

dependencies:
  bloc_scope: ^1.0.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_scope/bloc_scope.dart';
3
likes
0
points
62
downloads

Publisher

verified publisheryhdart.com

Weekly Downloads

The [bloc_scope] package helps you to easily cancel the futures and streams in case of BLOC or Cubit disposing.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, bloc, flutter

More

Packages that depend on bloc_scope