ArcPainter constructor

ArcPainter({
  1. double startAngle = 0.0,
  2. double sweepAngle = 360.0,
  3. Color color = Colors.blue,
  4. String middleLabel = '',
  5. String aboveLabel = '',
  6. Color borderColor = Colors.transparent,
  7. double strokeWidth = 1,
})

默认是画圆

Implementation

ArcPainter(
    {this.startAngle = 0.0,
    this.sweepAngle = 360.0,
    this.color = Colors.blue,
    this.middleLabel = '',
    this.aboveLabel = '',
    this.borderColor = Colors.transparent,
    this.strokeWidth = 1});