PointWidget constructor
const
PointWidget(})
points - 点集合
color
- 颜色
width
- 画布宽度
height
- 画布宽度
strokeWidth
- 画笔粗细
Implementation
const PointWidget(
this.points, {
super.color = Colors.blue,
super.width = 50,
super.height = 50,
super.strokeWidth = 1.0,
super.key,
});