W3cubDocs

/Dart 2

isActive property

bool isActive

Returns whether the timer is still active.

A non-periodic timer is active if the callback has not been executed, and the timer has not been canceled.

A periodic timer is active if it has not been canceled.

Implementation

bool get isActive;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-async/Timer/isActive.html