easy_dispose 1.1.0 copy "easy_dispose: ^1.1.0" to clipboard
easy_dispose: ^1.1.0 copied to clipboard

Common interface to dispose different things. Always call dispose() instead of cancel(), stop(), etc.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add easy_dispose

With Flutter:

 $ flutter pub add easy_dispose

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

dependencies:
  easy_dispose: ^1.1.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:easy_dispose/easy_dispose.dart';
1
likes
140
pub points
69%
popularity

Publisher

unverified uploader

Common interface to dispose different things. Always call dispose() instead of cancel(), stop(), etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

AGPL-3.0 (LICENSE)

More

Packages that depend on easy_dispose