GrockTimerController class

Constructors

GrockTimerController()

Properties

hashCode int
The hash code for this object.
no setterinherited
isFinished bool
no setter
isFinishedOrStopped bool
no setter
isInitialized bool
getter/setter pair
isNotFinished bool
no setter
isNotFinishedAndNotRunning bool
no setter
isNotFinishedAndNotStopped bool
no setter
isNotReset bool
no setter
isNotResetAndNotRunning bool
no setter
isNotResetAndNotStopped bool
no setter
isNotRunning bool
no setter
isNotStopped bool
no setter
isReset bool
no setter
isResetOrStopped bool
no setter
isRunning bool
no setter
isStopped bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state GrockTimerState
Get the current state of the timer
no setter
time Duration
Remove a listener from the timer
no setter

Methods

addListener(void listener(Duration time, GrockTimerState state)) → void
Add a listener to the timer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset the timer
setEndTime(Duration time) → void
Set the end time
setInterval(Duration time) → void
Set the interval time
setStartTime(Duration time) → void
Set the start time
start() → void
Start the timer
stop() → void
Stop the timer
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited