ProgressBarModel constructor

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

Implementation

ProgressBarModel({
  int? id,
  this.current = 0,
  this.total = 0,
  this.width = 40,
  this.fillChar = '=',
  this.emptyChar = ' ',
  this.showPercentage = true,
  this.showCount = true,
  this.renderConfig = const RenderConfig(),
}) : id = id ?? _nextProgressBarId();