PaddingValues

Interface

Common
interface PaddingValues

Describes a padding to be applied along the edges inside a box. See the PaddingValues factories and Absolute for convenient ways to build PaddingValues.

Functions

fun calculateLeftPadding(layoutDirection: LayoutDirection): Dp

The padding to be applied along the left edge inside a box.

fun calculateTopPadding(): Dp

The padding to be applied along the top edge inside a box.

fun calculateRightPadding(layoutDirection: LayoutDirection): Dp

The padding to be applied along the right edge inside a box.

fun calculateBottomPadding(): Dp

The padding to be applied along the bottom edge inside a box.