CircleProgressBarPainter constructor

CircleProgressBarPainter({
  1. Color? backgroundColor,
  2. required Color foregroundColor,
  3. required double percentage,
  4. double? strokeWidth,
})

Implementation

CircleProgressBarPainter({
  this.backgroundColor,
  required this.foregroundColor,
  required this.percentage,
  double? strokeWidth,
}) : strokeWidth = strokeWidth ?? 3;