elapsedDuration property

Duration? get elapsedDuration

the amount of the time that timer has been running for.

If the timer is paused, the elapsed time is also not computed anymore, so elapsed is always less than or equals to the duration. Duration? get elapsedDuration => _timer?.elapsed;

Implementation

Duration? get elapsedDuration => _timer?.elapsed;