padding
fun ModifierFieldValueList.padding(start: Dp = 0.dp, end: Dp = 0.dp, top: Dp = 0.dp, bottom: Dp = 0.dp): ModifierFieldValueList
Adds padding to this modifier list with individual side values.
Return
A new ModifierFieldValueList with padding applied
Parameters
start
The start padding
end
The end padding
top
The top padding
bottom
The bottom padding
fun ModifierFieldValueList.padding(horizontal: Dp = 0.dp, vertical: Dp = 0.dp): ModifierFieldValueList
Adds padding to this modifier list with horizontal and vertical values.
Return
A new ModifierFieldValueList with padding applied
Parameters
horizontal
The horizontal padding (applied to start and end)
vertical
The vertical padding (applied to top and bottom)
Adds equal padding to all sides of this modifier list.
Return
A new ModifierFieldValueList with padding applied
Parameters
all
The padding value to apply to all sides