lastElapsedDuration property
Duration?
get
lastElapsedDuration
The elapsed duration of the current run, or null when not animating.
Implementation
Duration? get lastElapsedDuration =>
isAnimating ? _clock.sinceTickerStart : null;