Scratcher constructor
      
      Scratcher({ 
    
    
- Key? key,
- required Widget child,
- bool enabled = true,
- double? threshold,
- double brushSize = 25,
- ScratchAccuracy accuracy = ScratchAccuracy.high,
- Color color = Colors.black,
- Image? image,
- bool rebuildOnResize = true,
- dynamic onChange(- double value
 
- VoidCallback? onThreshold,
- VoidCallback? onScratchStart,
- VoidCallback? onScratchUpdate,
- VoidCallback? onScratchEnd,
Implementation
Scratcher({
  Key? key,
  required this.child,
  this.enabled = true,
  this.threshold,
  this.brushSize = 25,
  this.accuracy = ScratchAccuracy.high,
  this.color = Colors.black,
  this.image,
  this.rebuildOnResize = true,
  this.onChange,
  this.onThreshold,
  this.onScratchStart,
  this.onScratchUpdate,
  this.onScratchEnd,
}) : super(key: key);