ComposeInsets

data class ComposeInsets(val left: Dp = 0.dp, val top: Dp = 0.dp, val right: Dp = 0.dp, val bottom: Dp = 0.dp, drivingSide: LayoutDirection)

When used as paddings, you can either use absolutePadding with left and right insets or drivingSidePadding with start and end insets

Constructors

Link copied to clipboard
constructor(left: Dp = 0.dp, top: Dp = 0.dp, right: Dp = 0.dp, bottom: Dp = 0.dp, drivingSide: LayoutDirection)

Properties

Link copied to clipboard
val bottom: Dp
Link copied to clipboard
val end: Dp
Link copied to clipboard
val left: Dp
Link copied to clipboard
val right: Dp
Link copied to clipboard
val start: Dp
Link copied to clipboard
val top: Dp