ProgressBarComponent constructor

const ProgressBarComponent({
  1. required int current,
  2. required int total,
  3. int width = 40,
  4. String fillChar = '=',
  5. String emptyChar = ' ',
  6. bool showPercentage = true,
  7. bool showCount = true,
  8. RenderConfig renderConfig = const RenderConfig(),
})

Implementation

const ProgressBarComponent({
  required this.current,
  required this.total,
  this.width = 40,
  this.fillChar = '=',
  this.emptyChar = ' ',
  this.showPercentage = true,
  this.showCount = true,
  this.renderConfig = const RenderConfig(),
});