paintBounds property
override
An estimate of the bounds within which this render object will paint. Useful for debugging flags such as debugPaintLayerBordersEnabled.
These are also the bounds used by showOnScreen to make a RenderObject visible on screen.
Implementation
@override
Rect get paintBounds => Offset.zero & (size * configuration.devicePixelRatio);