BoxWithConstraintsScope
Interface
Common
interface BoxWithConstraintsScope : BoxScope
Receiver scope being used by the children parameter of BoxWithConstraints
Properties
Common
val constraints: Constraints
The constraints given by the parent layout in pixels.
Use minWidth
, maxWidth
, minHeight
or maxHeight
if you need value in Dp
.
Common
val minWidth: Dp
The minimum width in Dp
.
Common
val maxWidth: Dp
The maximum width in Dp
.
Common
val minHeight: Dp
The minimum height in Dp
.
Common
val maxHeight: Dp
The maximum height in Dp
.