PackageTrack
Sign in Get early access

auto_disposal

A Flutter package that provides a mixin to automatically dispose of common resources in StatefulWidgets, reducing boilerplate and preventing memory leaks.

0.0.2 source

What this package is like to depend on

Last release 15 days ago

09 Aug 2026

Too new to tell

only 2 dated releases

Nearly every release is documented

notes for 2 of 2 stable releases

Nothing withdrawn

no release was ever pulled

3 months old

2 releases · first in 2026

2 releases in the last 12 months

see the full history below

Release timeline

2 releases · May 2026 to Aug 2026
Release Pre-release

Releases

latest 2
  1. 0.0.2 09 Aug 2026
    Release notes
    • Add debugMode flag to AutoDisposalMixin to enable debug logging of registered resources.
    • Add name parameter to disposable resources to help identify them in debug logs.
    Open source →
  2. 0.0.1 08 May 2026
    Release notes
    • Initial release of auto_disposal.
    • Added AutoDisposalMixin to auto-clean common Flutter resources in dispose().
    • Added support for custom cleanup via autoDisposeCallback(...).
    • Added example app demonstrating TextEditingController and StreamController registration.
    • Widget tests verifying proper disposal of registered resources.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive