playbackRate property
double
get
playbackRate
Implementation
double get playbackRate {
return _playbackRate;
}
set
playbackRate
(double value)
Implementation
set playbackRate(double value) {
if (value == _playbackRate) return;
_effect!._playbackRate = value;
_playbackRate = value;
double? oldCurrentTime = currentTime;
_startTime = null;
if (playState != AnimationPlayState.paused && playState != AnimationPlayState.idle) {
_finishedFlag = false;
_isIdle = false;
_ensureAlive();
}
if (oldCurrentTime != null) {
currentTime = oldCurrentTime;
}
}