onPanEnd: (details) {
pointsList.add(null);
pointsStream.add(pointsList);
},
class DrawModel {
final Offset offset;
final Paint paint;
DrawModel({required this.offset, required this.paint});
}
错误:无法将参数类型“Null”分配给参数类型“DrawModel”