CustomPainterCanvasCallback constructor

const CustomPainterCanvasCallback({
  1. required PaintCallback onPaint,
})

Implementation

const CustomPainterCanvasCallback({required this.onPaint});