manjav / particular

Enhance your app or game visuals with this high-performance Flutter Particles System widget
MIT License
11 stars 0 forks source link

Dispose method on the ParticularController #13

Closed imaNNeo closed 1 month ago

imaNNeo commented 1 month ago

We need to have a dispose() method (or something like that) in our ParticularController to be able to dispose it and clear the memory when we're done with that.

Just like what we have for other controllers StreamController.close(), ChangeNotifier.dispose(), AnimationController.dispose(), ...