ilkersevim_disposables 0.1.2 copy "ilkersevim_disposables: ^0.1.2" to clipboard
ilkersevim_disposables: ^0.1.2 copied to clipboard

Prevent leaked subscriptions, timers, controllers, and cleanup callbacks by disposing related Dart resources together.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ilkersevim_disposables

With Flutter:

 $ flutter pub add ilkersevim_disposables

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

dependencies:
  ilkersevim_disposables: ^0.1.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:ilkersevim_disposables/ilkersevim_disposables.dart';
1
likes
160
points
311
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Prevent leaked subscriptions, timers, controllers, and cleanup callbacks by disposing related Dart resources together.

Repository (GitHub)
View/report issues

Topics

#async #lifecycle #dart

License

Apache-2.0 (license)

More

Packages that depend on ilkersevim_disposables