ClockWidget constructor
ClockWidget(})
diameter
- 直径
startAngle
- 开始角度
sweepAngle
- 间隔角度
color
- 颜色
strokeWidth
- 画笔粗细
Implementation
ClockWidget(
this.datetime, {
this.handColor = Colors.black,
this.numberColor = Colors.black,
this.borderColor = Colors.black,
Color color = Colors.blue,
double strokeWidth = 1.0,
double width = 100,
double height = 100,
}) : super(
color: color,
width: width,
height: height,
strokeWidth: strokeWidth);