timeRemaining property

String get timeRemaining

Returns the formatted remaining time as a string.

The format is HH:mm:ss if alwaysShowHours is true or if the remaining time is 1 hour or more; otherwise, it is mm:ss.

Implementation

String get timeRemaining => _formattedTime(_secondsRemaining);