dryLayout abstract method

LayoutSize dryLayout(
  1. LayoutConstraints constraints
)

Performs a dry layout without modifying the child's state.

Returns the size the child would have if laid out with the given constraints, but doesn't actually position or size the child. Useful for measuring and calculating layouts without side effects.

Implementation

LayoutSize dryLayout(LayoutConstraints constraints);