dispose method Null safety
Cleans up any listeners added by this CurvedAnimation.
Implementation
void dispose() {
isDisposed = true;
parent.removeStatusListener(_updateCurveDirection);
}
Cleans up any listeners added by this CurvedAnimation.
void dispose() {
isDisposed = true;
parent.removeStatusListener(_updateCurveDirection);
}