dispose 0.0.5
dispose: ^0.0.5

Dart native js
Flutter Android iOS web

A handler to correctly dispose listeners, timers, controllers etc.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  dispose: ^0.0.5

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:dispose/dispose.dart';
1
likes
90
pub points
22%
popularity

A handler to correctly dispose listeners, timers, controllers etc.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

jonathan@jode.com.br

License

GPL 3.0 (LICENSE)

Dependencies

pedantic

More

Packages that depend on dispose