Rect paintBounds

The bounds within which this render object will paint.

A render object is permitted to paint outside the region it occupies during layout but is not permitted to paint outside these paints bounds. These paint bounds are used to construct memory-efficient composited layers, which means attempting to paint outside these bounds can attempt to write to pixels that do not exist in this render object's composited layer.

Source

Rect get paintBounds;