painter property Null safety

CustomPainter? painter
final

The painter that paints before the children.

Implementation

final CustomPainter? painter;