contentBounds property
Rect
get
contentBounds
The bounds of the content area in local coordinates.
Returns a Rect representing the content area after layout, including any overflow or scrolling. Must be called after layout.
Implementation
Rect get contentBounds {
assert(
_contentBounds != null,
'contentBounds is not available before layout. Call layout first.',
);
return rectFromLayoutRect(_contentBounds!);
}