Spinner class
Spinner Class - Animated loading indicator
Provides animated visual feedback for long-running operations where completion time is unknown or variable.
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → void - Cancel spinner and hide line
-
complete(
[String? message]) → void - Complete spinner successfully
-
fail(
[String? message]) → void - Complete spinner with failure
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → void - Start spinner display
-
stop(
) → void - Stop spinner
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String message) → void - Update spinner message
-
whileRunning<
T> (Future< T> work()) → Future<T> -
Available on Spinner, provided by the ClixSpinnerWork extension
Completes on success, reports a failure, and stops on every exit.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited