Spinner constructor
Spinner(})
Implementation
Spinner(
this._text, {
this.states = const ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'],
this.animationSpeed = const Duration(milliseconds: 250),
}) : assert(animationSpeed > Spinner.frameRate);