TraceModel constructor

TraceModel({
  1. bool isSpace = false,
  2. Size letterViewSize = const Size(200, 200),
  3. bool? disableDivededStrokes,
  4. double? strokeIndex,
  5. double? distanceToCheck,
  6. double? scaledottedPath,
  7. double? scaleIndexPath,
  8. Size? poitionIndexPath,
  9. Size? poitionDottedPath,
  10. PaintingStyle? indexPathPaintStyle,
  11. PaintingStyle? dottedPathPaintStyle,
  12. double strokeWidth = 55,
  13. Color indexColor = Colors.black,
  14. Color outerPaintColor = Colors.red,
  15. Color innerPaintColor = Colors.blue,
  16. Color dottedColor = Colors.amber,
  17. required String dottedPath,
  18. required String indexPath,
  19. required String letterPath,
  20. 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,

});