contentSize property

  1. @override
LayoutSize get contentSize
override

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!;
}