layout method

  1. @override
void layout(
  1. LayoutRect parentOffset,
  2. LayoutOffset offset,
  3. LayoutSize size,
  4. OverflowBounds overflowBounds, {
  5. LayoutOffset? revealOffset,
})
override

Throws an exception - actual layout is not supported in dry operations.

Dry delegates only perform measurements, not actual layout.

Implementation

@override
void layout(
  LayoutRect parentOffset,
  LayoutOffset offset,
  LayoutSize size,
  OverflowBounds overflowBounds, {
  LayoutOffset? revealOffset,
}) {
  throw Exception('layout is not supported in dry delegate');
}