ScratchPainter constructor

ScratchPainter({
  1. required List<ScratchPoint?> points,
  2. required Color color,
  3. required void onDraw(
    1. Size
    ),
  4. Image? image,
  5. BoxFit? imageFit,
})

Implementation

ScratchPainter({
  required this.points,
  required this.color,
  required this.onDraw,
  this.image,
  this.imageFit,
});