layoutSync

fun layoutSync(constraints: SizeConstraints): LayoutState

Performs a synchronous layout calculation with the given constraints. Uses the current resolve result if available, otherwise performs an inline resolve.

Return

The resulting layout state.

Parameters

constraints

The size constraints to use for layout.