measureChild

abstract fun measureChild(index: Int, constraints: Constraints): IntSize(source)

Measures one direct child exactly once.

Return

the child's measured size.

Parameters

index

the absolute direct-child index.

constraints

the child's constraints.

Throws

when index is outside the direct-child range.

when this child was already measured or the scope is no longer valid.