layout method

  1. @override
void layout(
  1. LayoutOffset offset,
  2. LayoutSize size,
  3. OverflowBounds overflowBounds, {
  4. 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(
  LayoutOffset offset,
  LayoutSize size,
  OverflowBounds overflowBounds, {
  LayoutOffset? revealOffset,
}) {
  throw Exception('layout is not supported in dry delegate');
}