addEffectDisposeCallback method
void
addEffectDisposeCallback(
- void callback()
Add a new effect dispose callback to call when the widget is disposed
Implementation
void addEffectDisposeCallback(void Function() callback) {
cleanupCallbacks.add(callback);
}