CircularProgressPainter constructor
CircularProgressPainter({})
Creates a CircularProgressPainter.
progressdefines how much of the circle is filled.backgroundColorsets the base circle color.progressColorsets the arc color.strokeWidthdefines line thickness.
Implementation
CircularProgressPainter({
required this.progress,
this.backgroundColor = Colors.grey,
this.progressColor = Colors.blue,
this.strokeWidth = 8,
});