progress property
double
get
progress
The eased progress of the animation, bounded strictly between 0.0 and 1.0.
Implementation
double get progress => easing(rawProgress);
set
progress
(double val)
Sets the raw (uneased) progress of the animation, clamped between 0.0 and 1.0.
Implementation
set progress(double val) {
final clamped = val.clamp(0.0, 1.0);
_startProgress = clamped;
if (_stopwatch != null) {
_transitionStartTimeMs = _stopwatch!.elapsedMilliseconds;
} else {
_transitionStartTimeMs = 0;
}
}