layout method
void
layout(
- LayoutOffset offset,
- LayoutSize size,
- OverflowBounds overflowBounds, {
- 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');
}