# leak_tracker_testing 3.0.2

Leak tracking code intended for usage in tests.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'leak_tracker_testing:3.0.2'
```
Published: 2025-04-21T20:28:12.802586Z
Expected archive SHA-256: 8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1

Available in cache; verification: upstream_checksum
## Direct dependencies
- leak_tracker: >=9.0.0 <12.0.0
- matcher: ^0.12.16
- meta: ^1.11.0

## Package README (untrusted upstream documentation)
[![pub package](https://img.shields.io/pub/v/leak_tracker_testing.svg)](https://pub.dev/packages/leak_tracker_testing)
[![package publisher](https://img.shields.io/pub/publisher/leak_tracker_testing.svg)](https://pub.dev/packages/leak_tracker_testing/publisher)

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

## What is this?

This package contains the test-only leak tracking APIs for pure dart projects.

They are separated from `leak_tracker` to make sure
testing code is not used in production.

Read more in [leak tracking overview](https://github.com/dart-lang/leak_tracker/blob/main/doc/leak_tracking/OVERVIEW.md).

## Changelog
## 3.0.2

* Update `leak_tracker` dependency to `>=9.0.0 <12.0.0`.

## 3.0.1

* Fixed typo by renaming `experimantalAllNotGCed` to `experimentalAllNotGCed`.

## 3.0.0

* Rename `IgnoredLeaks.notGCed` to `IgnoredLeaks.experimentalNotGCed`
and make notGCed leaks ignored by leak tracking tests by default.

## 2.0.3

* Require Dart SDK 3.2.0 or later.

## 2.0.2

* Allow to ignore objects created by test helpers.
* Set `ignore = false` by default.

## 2.0.1

* Add LeakTesting.enabled.

## 2.0.0

* Remove fields `failOnLeaksCollected` and `onLeaks` from `LeakTesting`.

## 1.0.6

* Updated to use `package:lints/recommended.yaml` for analysis.
* Move LeakTesting from leak_tracker to this library.

## 1.0.5

* Stop depending on test.

## 1.0.4

* Bump version of SDK to 3.1.2.

## 1.0.3

* Update version of leak_tracker to `^9.0.0`.

## 1.0.2

* Update version of leak_tracker to `^8.0.0`.
* Set version of leak_tracker to `any`.

## 1.0.0

* Create version.







 
