LxCountdown class

A reactive countdown timer.

Constructors

LxCountdown({required Duration totalDuration, required Duration interval, void onTick(Duration remaining)?, void onFinish()?})

Properties

hashCode int
The hash code for this object.
no setterinherited
interval Duration
final
onFinish → void Function()?
final
onTick → void Function(Duration remaining)?
final
remaining LxVar<Duration>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDuration Duration
final

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
resume() → void
start() → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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