CustomPaint constructor

CustomPaint({
  1. CustomPainter? painter,
  2. CustomPainter? foregroundPainter,
  3. PdfPoint size = PdfPoint.zero,
  4. Widget? child,
})

Implementation

CustomPaint({
  this.painter,
  this.foregroundPainter,
  this.size = PdfPoint.zero,
  Widget? child,
}) : super(child: child);