🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

BoxWithConstraintsScope

Receiver scope being used by the children parameter of BoxWithConstraints

Source set: Common
public interface BoxWithConstraintsScope : BoxScope

Receiver scope being used by the children parameter of BoxWithConstraints

Properties

constraints

Source set: Common
public val constraints: Constraints

The constraints given by the parent layout in pixels.

Use minWidth, maxWidth, minHeight or maxHeight if you need value in Dp.

minWidth

Source set: Common
public val minWidth: Dp

The minimum width in Dp.

maxWidth

Source set: Common
public val maxWidth: Dp

The maximum width in Dp.

minHeight

Source set: Common
public val minHeight: Dp

The minimum height in Dp.

maxHeight

Source set: Common
public val maxHeight: Dp

The maximum height in Dp.