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

PlatformAndroidiOS
outdated

This is a plug-in used to detect page memory leaks. You can use it to detect whether there is a memory leak in `State` and `StatefulElement`.

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: ^0.2.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';
48
likes
110
pub points
86%
popularity

Publisher

unverified uploader

This is a plug-in used to detect page memory leaks. You can use it to detect whether there is a memory leak in `State` and `StatefulElement`.

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