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

Used to detect page memory leaks. You can use it to detect whether there is a memory leak in `Widget`, `Element` and `State`.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add leak_detector

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

dependencies:
  leak_detector: ^1.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:leak_detector/leak_detector.dart';
60
likes
130
pub points
85%
popularity

Publisher

unverified uploader

Used to detect page memory leaks. You can use it to detect whether there is a memory leak in `Widget`, `Element` and `State`.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, path, sqflite, vm_service

More

Packages that depend on leak_detector