AnsiProgress constructor

AnsiProgress(
  1. Ansi ansi,
  2. String message
)

Implementation

AnsiProgress(this.ansi, String message) : super(message) {
  _timer = Timer.periodic(const Duration(milliseconds: 80), (t) {
    _updateDisplay();
  });
  io.stdout.write('$message...  '.padRight(40));
  _updateDisplay();
}