Spinner class

A terminal spinner shown while a long-running operation (e.g. running all audits, some of which hit the network) is in progress.

Falls back to a single printed line when stdout isn't a terminal (piped output, CI logs) instead of spamming carriage-return control characters.

Constructors

Spinner(String message)

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
final
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() → void
stop() → void
Stops the spinner and clears its line, leaving nothing behind for the next print to overwrite.
toString() String
A string representation of this object.
inherited

Operators

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