dispose method
Dispose of the widget.
Implementation
@override
void dispose() {
super.dispose();
for (final timer in timers.values) {
timer.cancel();
}
timers.clear();
}
Dispose of the widget.
@override
void dispose() {
super.dispose();
for (final timer in timers.values) {
timer.cancel();
}
timers.clear();
}