EfficientCircularCountdownTimerLogic class

Constructors

EfficientCircularCountdownTimerLogic.new({required int duration, int initialDuration = 0, bool isReverse = false, String timeFormatter(int seconds)?})

Properties

currentSeconds int
no setter
duration int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialDuration int
final
isPaused bool
no setter
isReverse bool
final
isRunning bool
no setter
isRunningNotifier ValueNotifier<bool>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeNotifier ValueNotifier<String>
final

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
reset({int? newDuration, int? newInitialDuration}) → void
resume() → void
start({String timeFormatter(int seconds)?}) → void
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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