This is a framework for detecting memory issues in Dart and Flutter applications.
Package | Description | Version |
---|---|---|
leak_tracker | (work in progress, used by flutter_test) A framework for memory leak tracking for Dart and Flutter applications. | |
leak_tracker_testing | (work in progress, used by flutter_test) Leak tracking code intended for usage in tests. | |
leak_tracker_flutter_testing | An internal package to test leak tracking with Flutter. | |
memory_usage | (experimental) A framework for memory usage tracking and snapshotting. |
Ready for use:
Under construction:
Check Work in progress to see what is under construction.
Help us to prioritize future work by upvoting and commenting potential new features.
For general contributing information, see Dart-wide CONTRIBUTING.md.
To upgrade Dart SDK with new version of memory_usage
update leak_tracker commit hash for leak_tracker_rev in Dart SDK DEPS.
To upgrade versions of leak_tracker and/or leak_tracker_testing used by testWidgets
:
Publish new version of the packages.
Ask a googler to refresh the packages with copybara in G3.
Upgrade Flutter:
Update versions of leak_tracker and/or leak_tracker_testing in the files:
To regenerate diagrams, run in the root of packages:
dart run layerlens