CustomPainterCanvasCallback constructor

const CustomPainterCanvasCallback({
  1. required PaintCallback onPaint,
  2. Listenable? repaint,
})

Implementation

const CustomPainterCanvasCallback({required this.onPaint, super.repaint});