ArcPainter constructor

const ArcPainter({
  1. required int finalValue,
  2. required int currentValue,
  3. required Color barColor,
  4. required Color fillColor,
  5. required double arcWidth,
  6. required bool borders,
  7. required Color borderColor,
  8. required double borderWidth,
  9. required double arcLength,
})

Custom painter that creates the arc, its fill color and its borders.

Implementation

const ArcPainter({
  required this.finalValue,
  required this.currentValue,
  required this.barColor,
  required this.fillColor,
  required this.arcWidth,
  required this.borders,
  required this.borderColor,
  required this.borderWidth,
  required this.arcLength,
});