isAnimating property
bool
get
isAnimating
Whether the progress bar is currently animating.
Implementation
bool get isAnimating {
if (indeterminate) return true;
final dist = (_percentShown - _targetPercent).abs();
return !(dist < 0.001 && _velocity < 0.01);
}