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 2026Releases
latest 2-
0.0.209 Aug 2026Release notes
Open source →- Add
debugModeflag toAutoDisposalMixinto enable debug logging of registered resources. - Add
nameparameter to disposable resources to help identify them in debug logs.
- Add
-
0.0.108 May 2026Release notes
Open source →- Initial release of
auto_disposal. - Added
AutoDisposalMixinto auto-clean common Flutter resources indispose(). - Added support for custom cleanup via
autoDisposeCallback(...). - Added example app demonstrating
TextEditingControllerandStreamControllerregistration. - Widget tests verifying proper disposal of registered resources.
- Initial release of