FLUTTER ECOSYSTEM

leak_tracker

A framework for memory leak tracking for Dart and Flutter applications.

Latest version
11.0.2
30-day downloads
8.2M
Likes
214
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Leak Tracker is a Dart and Flutter package designed to detect memory leaks in applications. It provides tools to monitor object lifecycles and identify instances that are not being properly disposed of, helping developers maintain optimal memory usage. By integrating seamlessly into development workflows, it supports debugging across multiple platforms including Android, iOS, macOS, Windows, and Linux. The package is particularly useful during testing and performance optimization phases.

Use cases
  • Identifying retained objects after navigation
  • Monitoring widget lifecycle in Flutter apps
  • Detecting unmanaged subscriptions
  • Performance tuning in long-running apps
  • Debugging memory spikes during testing
Key features
  • Real-time memory leak detection
  • Cross-platform support
  • Integration with Flutter's dev tools
  • Detailed object retention analysis
  • Lightweight runtime overhead
Suitable for
  • Flutter developers focused on performance
  • Teams conducting rigorous app testing
  • Apps with complex state management
  • Developers troubleshooting memory issues
  • CI/CD pipelines for memory validation
Considerations
  • Not intended for production use
  • Requires careful setup in test environments
  • May impact test execution speed
  • Best used during development or staging
  • Limited to detecting certain types of leaks
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add leak_tracker

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects

Rankings