ProgressBarPainter constructor

ProgressBarPainter({
  1. required double size,
  2. double trackWidth = 32.0,
  3. double progressBarWidth = 32.0,
  4. required List<double> values,
  5. required List<Color> colors,
  6. Color trackColor = Colors.grey,
})

Implementation

ProgressBarPainter({
  required this.size,
  this.trackWidth = 32.0,
  this.progressBarWidth = 32.0,
  required this.values,
  required this.colors,
  this.trackColor = Colors.grey,
});