TraceModel constructor
TraceModel({
- bool isSpace = false,
- Size letterViewSize = const Size(200, 200),
- bool? disableDivededStrokes,
- double? strokeIndex,
- double? distanceToCheck,
- double? scaledottedPath,
- double? scaleIndexPath,
- Size? poitionIndexPath,
- Size? poitionDottedPath,
- PaintingStyle? indexPathPaintStyle,
- PaintingStyle? dottedPathPaintStyle,
- double strokeWidth = 55,
- Color indexColor = Colors.black,
- Color outerPaintColor = Colors.red,
- Color innerPaintColor = Colors.blue,
- Color dottedColor = Colors.amber,
- required String dottedPath,
- required String indexPath,
- required String letterPath,
- required String pointsJsonFile,
Implementation
TraceModel({
this.isSpace=false,
this.letterViewSize=const Size(200,200),
this.disableDivededStrokes,
this.strokeIndex,
this.distanceToCheck,
this.scaledottedPath,
this.scaleIndexPath,
this.poitionIndexPath, this.poitionDottedPath,
this.indexPathPaintStyle,
this.dottedPathPaintStyle,
this.strokeWidth=55,
this.indexColor = Colors.black,
this.outerPaintColor = Colors.red,
this.innerPaintColor = Colors.blue,
this.dottedColor = Colors.amber,
required this.dottedPath,
required this.indexPath,
required this.letterPath,
required this.pointsJsonFile,
// required this.pointColor,
});