ConsoleProgressBar constructor

ConsoleProgressBar({
  1. required int total,
  2. String? message,
  3. int barWidth = 30,
})

Creates a ConsoleProgressBar with the given total steps.

Implementation

ConsoleProgressBar({required this.total, this.message, int barWidth = 30})
  : _barWidth = barWidth;