isCompleted property

bool? isCompleted
getter/setter pair

Checks if the timer is running and enables you to take actions according to that. if the timer is still active,

isCompleted returns false and vice versa.

for example:

  _controller.isCompleted ? _controller.restart() : _controller.pause();

Implementation

bool? isCompleted;