androidx.compose.foundation.layout

BoxWithConstraintsScope

Interface · from org.jetbrains.compose.foundation:foundation-layout:1.12.2

No hand-written docs yet.

Receiver scope being used by the children parameter of BoxWithConstraints

interface BoxWithConstraintsScope : BoxScope

Is a

Properties

constraints

val constraints: Constraints

The constraints given by the parent layout in pixels.

minWidth

val minWidth: Dp

The minimum width in Dp.

maxWidth

val maxWidth: Dp

The maximum width in Dp.

minHeight

val minHeight: Dp

The minimum height in Dp.

maxHeight

val maxHeight: Dp

The maximum height in Dp.

Library docs

Receiver scope being used by the children parameter of BoxWithConstraints