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