contentSize property
The total size of all content within this layout.
Represents the size needed to contain all children without scrolling.
Implementation
@override
LayoutSize get contentSize {
assert(
_contentSize != null,
'contentSize is not available before layout. Call layout first.',
);
return _contentSize!;
}