visibleContentBounds property

RRect get visibleContentBounds

The visible content bounds with border radius applied.

Returns an RRect representing the visible content area with the container's border radius applied for painting.

Implementation

RRect get visibleContentBounds {
  return borderRadius.toRRect(actualPaintBounds ?? paintBounds);
}