drawRect method
Draws a rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.

Implementation
@override
void drawRect(Rect rect, Paint paint) => parent.drawRect(rect, paint);
Draws a rectangle with the given Paint. Whether the rectangle is filled or stroked (or both) is controlled by Paint.style.

@override
void drawRect(Rect rect, Paint paint) => parent.drawRect(rect, paint);