RectangleFillPainter constructor Null safety

RectangleFillPainter()