leak_tracker_flutter_testing 1.0.5 copy "leak_tracker_flutter_testing: ^1.0.5" to clipboard
leak_tracker_flutter_testing: ^1.0.5 copied to clipboard

unlisted

Flutter specific helpers for dart memory leak tracking.

pub package package publisher

Coming soon! See https://github.com/flutter/devtools/issues/3951.

What is leak_tracker_flutter_testing? #

leak_tracker_flutter_testing is Flutter specific test helpers for leak_tracker.

They are separated from leak_tracker_testing because the last one is pure Flutter package and should not reference Flutter Framework.

How to use the helpers? #

To make your widget test fail in case of leaks, use testWidgetsWithLeakTracking instead of testWidgets:

testWidgetsWithLeakTracking('not leaking', (widgetTester) async {
    ...
});

See more examples in end_to_end_test.dart.