Google is committed to advancing racial equity for Black communities. See how.

PaddingValues

@Immutable data class PaddingValues
kotlin.Any
   ↳ androidx.compose.foundation.layout.PaddingValues

Describes a padding to be applied along the edges inside a box.

Summary

Public constructors
<init>(all: Dp)

<init>(start: Dp = 0.dp, top: Dp = 0.dp, end: Dp = 0.dp, bottom: Dp = 0.dp)

Describes a padding to be applied along the edges inside a box.

Properties
Dp

Dp

Dp

Dp

Public constructors

<init>

PaddingValues(all: Dp)

<init>

PaddingValues(
    start: Dp = 0.dp,
    top: Dp = 0.dp,
    end: Dp = 0.dp,
    bottom: Dp = 0.dp)

Describes a padding to be applied along the edges inside a box.

Properties

bottom

@Stable val bottom: Dp

end

@Stable val end: Dp

start

@Stable val start: Dp

top

@Stable val top: Dp