FrancoTimerController class

Constructors

FrancoTimerController()

Properties

hashCode int
The hash code for this object.
no setterinherited
isStarted bool
Checks if the timer is started.
no setter
isStopped bool
Pauses the timer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status FrancoTimerStatus
Returns the current status of the timer.
no setter
statusStream Stream<FrancoTimerStatus>
A stream that emits the current status of the timer.
no setter
timerStream Stream<Duration>
A stream that emits the current duration of the timer.
no setter

Methods

dispose() → void
Disposes the controller and releases any resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetTimer() → void
Resets the timer to the initial state.
resumeTimer() → void
Resumes the timer from the current state.
startTimer({FrancoTimerDirection direction = FrancoTimerDirection.forward, Duration? initialDuration, Duration? endDuration}) → void
Starts the timer in the specified direction with an optional initial duration and end duration.
stopTimer() → void
Stops the timer.
toString() String
A string representation of this object.
inherited

Operators

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