ConstrainedPanel

constructor(measurePolicy: MeasurePolicy = maybeCachedBoxMeasurePolicy(Alignment.TopStart, propagateMinConstraints = true), parentDataProtocol: LayoutParentDataProtocol? = null)

Parameters

measurePolicy

how the panel measures and places its children. Defaults to the measure policy of androidx Compose UI's root: each child is measured under the panel's constraints and placed at the top-start corner, and the panel takes the largest child's extent.

parentDataProtocol

the stable token for parent data that measurePolicy reads, or null where it reads none; see Layout.