ComponentPadding

data class ComponentPadding(val start: Dp = 0.dp, val top: Dp = 0.dp, val end: Dp = 0.dp, val bottom: Dp = 0.dp)

Represents the padding of a component.

Parameters

start

The start padding.

top

The top padding.

end

The end padding.

bottom

The bottom padding.

Constructors

Link copied to clipboard
constructor(horizontal: Dp = 0.dp, vertical: Dp = 0.dp)
constructor(start: Dp = 0.dp, top: Dp = 0.dp, end: Dp = 0.dp, bottom: Dp = 0.dp)

Types

Link copied to clipboard
object Companion

Properties

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

Returns the Compose padding values.