SignatureModel constructor
SignatureModel(})
Implementation
SignatureModel(WidgetModel super.parent, super.id,
{List<PointVector>? points,
double? width,
double? height,
this.backgroundColor = Colors.grey,
this.penColor = Colors.black,
this.penStrokeWidth = 3.0}) {
if ((points != null) && (points.isNotEmpty)) this.points.addAll(points);
if (width != null) this.width = width;
if (height != null) this.height = height;
}