ConsoleSpinner class
A class that handles showing a spinner animation in the console
Constructors
- ConsoleSpinner(String _message)
-
Creates a ConsoleSpinner with the given initial
_message.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
[String? message]) → void - Start the spinner with an optional message
-
stop(
{String? completionMessage, bool success = true}) → void - Stop the spinner with an optional completion message
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String message) → void - Update the spinner message
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited