CirclePainter constructor
CirclePainter({})
The CirclePainter constructor has four required parameters that are progressNumber, maxNumber, fraction and animation.
Implementation
CirclePainter(
{required this.progressNumber,
required this.maxNumber,
required this.fraction,
required this.animation,
this.backgroundColor,
this.progressColor}) {
_paint = Paint()
..color = Colors.white
..strokeWidth = 10.0
..style = PaintingStyle.stroke
..strokeCap = StrokeCap.round;
}