setState() called after dispose(): _FlutterSliderState#d63ae(lifecycle state: defunct, not mounted, tickers: tracking 0 tickers) code example
Example: lifecycle state: defunct, not mounted
void setStateIfMounted(f) {
if (mounted) setState(f);
}
void setStateIfMounted(f) {
if (mounted) setState(f);
}