GetTimer class
Constructors
- GetTimer({Duration duration = Duration.zero, Duration period = const Duration(seconds: 1), bool extendable = false, GetTimerCallback? onCancel, GetTimerCallback? onTick})
- GetTimer.countDown(Duration? duration, {Duration period = const Duration(seconds: 1), bool extendable = true, GetTimerCallback? onCancel, GetTimerCallback? onTick})
Properties
- countDown → bool
-
final
- duration → Duration
-
final
- elapsed ↔ Duration
-
getter/setter pair
- elapsedPeriod → Duration
-
no setter
- extendable → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCanceled → bool
-
no setter
- onCancel → GetTimerCallback?
-
final
- onTick → GetTimerCallback?
-
final
- period → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
final
Methods
-
cancel(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited