cancelable_future 0.4.2 copy "cancelable_future: ^0.4.2" to clipboard
cancelable_future: ^0.4.2 copied to clipboard

This package academically provides an opportunity to cancel the future.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cancelable_future

With Flutter:

 $ flutter pub add cancelable_future

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

dependencies:
  cancelable_future: ^0.4.2

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:cancelable_future/cancelable_future.dart';
2
likes
160
points
66
downloads

Publisher

verified publisheryet-another.dev

Weekly Downloads

This package academically provides an opportunity to cancel the future.

Repository (GitHub)

Topics

#future #cancelable-future #async

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

meta

More

Packages that depend on cancelable_future