CountdownTimerController class
An imperative controller that gives outside code the ability to start, pause, resume, reset, or seek an AdvancedCountdownTimer instance.
The widget binds itself to the controller during State.initState and cleans up during State.dispose. If no widget is attached the methods become no-ops.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAttached → bool
-
Whether a widget is currently attached.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attachInternal(
{required VoidCallback start, required VoidCallback pause, required VoidCallback resume, required VoidCallback reset, required void seek(Duration)}) → void -
detachInternal(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → void -
reset(
) → void -
resume(
) → void -
seek(
Duration remaining) → void -
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited