ArcPainter constructor

ArcPainter(
  1. double radius,
  2. double strokeWidth,
  3. double arcStart,
  4. double arcEnd,
  5. Color color,
  6. ValueNotifier<double> notifier,
)

Implementation

ArcPainter(this.radius, this.strokeWidth, this.arcStart, this.arcEnd,
    this.color, this.notifier)
    : super(repaint: notifier) {
  circlePaint
    ..color = color
    ..strokeWidth = strokeWidth
    ..style = PaintingStyle.stroke
    ..strokeCap = StrokeCap.round;
}