TraceModel constructor

TraceModel({
  1. double? distanceToCheck,
  2. double? scaledottedPath,
  3. double? scaleIndexPath,
  4. Size? poitionIndexPath,
  5. Size? poitionDottedPath,
  6. PaintingStyle? indexPathPaintStyle,
  7. PaintingStyle? dottedPathPaintStyle,
  8. double strokeWidth = 55,
  9. Color indexColor = Colors.black,
  10. Color outerPaintColor = Colors.red,
  11. Color innerPaintColor = Colors.blue,
  12. Color dottedColor = Colors.amber,
  13. required String dottedPath,
  14. required String indexPath,
  15. required String letterPath,
  16. required String pointsJsonFile,
})

Implementation

TraceModel({
  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,

});