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