Interface

PaddingValues

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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

calculateLeftPadding

fun calculateLeftPadding(layoutDirection: LayoutDirection): Dp

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


calculateTopPadding

fun calculateTopPadding(): Dp

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


calculateRightPadding

fun calculateRightPadding(layoutDirection: LayoutDirection): Dp

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


calculateBottomPadding

fun calculateBottomPadding(): Dp

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