auto_dispose_mixin 1.0.0 copy "auto_dispose_mixin: ^1.0.0" to clipboard
auto_dispose_mixin: ^1.0.0 copied to clipboard

A lightweight Flutter mixin that automatically disposes controllers, subscriptions, and other resources to prevent memory leaks.

Changelog #

1.0.0 - 2026-02-17 #

Initial Release #

  • Added AutoDisposeMixin for automatic resource cleanup
  • Supports ChangeNotifier, AnimationController, ScrollController, StreamSubscription, and more
  • Added registerForDispose() and registerDisposeCallback()
  • DevTools logging and performance tracking support
  • Ticker-safe disposal handling
  • Included example project and full documentation

1
likes
160
points
225
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter mixin that automatically disposes controllers, subscriptions, and other resources to prevent memory leaks.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on auto_dispose_mixin