calculateStartPadding
Function
Common
fun PaddingValues.calculateStartPadding(layoutDirection: LayoutDirection) =
if (layoutDirection == LayoutDirection.Ltr) {
calculateLeftPadding(layoutDirection)
} else {
calculateRightPadding(layoutDirection)
}
The padding to be applied along the start edge inside a box: along the left edge if the layout direction is LTR, or along the right edge for RTL.