ilkersevim_disposables 0.1.2
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_disposablesWith Flutter:
$ flutter pub add ilkersevim_disposablesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ilkersevim_disposables: ^0.1.2Alternatively, 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';