ArcWidget constructor
ArcWidget(})
diameter
- 直径
startAngle
- 开始角度
sweepAngle
- 间隔角度
color
- 颜色
strokeWidth
- 画笔粗细
Implementation
ArcWidget(this.diameter,
{this.startAngle = 0.0,
this.borderColor = Colors.grey,
this.sweepAngle = 360.0,
this.middleLabel,
this.aboveLabel,
Color color = Colors.blue,
double strokeWidth = 1.0})
: super(
color: color,
width: diameter,
height: diameter,
strokeWidth: strokeWidth);