RenderCustomPaint constructor
- CustomPainter? painter,
- CustomPainter? foregroundPainter,
- Size preferredSize = Size.zero,
- bool isComplex = false,
- bool willChange = false,
- RenderBox? child,
Creates a render object that delegates its painting.
Implementation
RenderCustomPaint({
this._painter,
this._foregroundPainter,
this._preferredSize = Size.zero,
this.isComplex = false,
this.willChange = false,
RenderBox? child,
}) : super(child);