Spinner constructor
Spinner({
- String message = '',
- List<
String> spinnerCharacters = const <String>['|', '/', '-', '\\'], - int intervalMs = 100,
- Coordinate? startCoordinate,
Creates a new spinner.
message is displayed next to the spinner animation.
spinnerCharacters defines the animation frames (defaults to a rotating line).
intervalMs controls the animation speed in milliseconds.
Implementation
Spinner({
this.message = '',
this.spinnerCharacters = const <String>['|', '/', '-', '\\'],
this.intervalMs = 100,
Coordinate? startCoordinate,
}) : _startCoordinate = startCoordinate;