CircularProgressBar constructor

CircularProgressBar({
  1. required List<Color> lineColor,
  2. required double width,
  3. double? bgWidth,
  4. double progress = 1,
  5. double startAngle = pi / 2,
  6. Color bgColor = Colors.transparent,
})

Implementation

CircularProgressBar(
    {required this.lineColor,
    required this.width,
    this.bgWidth,
    this.progress = 1,
    this.startAngle = pi / 2,
    this.bgColor = Colors.transparent}) {
  endAngle = progress / 1 * 2 * pi;
}