PaddingModifierFieldValue
A modifier field value that applies padding to a component.
Allows configuring padding values for all four sides (start, end, top, bottom) of a component through the Preview Lab interface.
Parameters
start
The start padding value
end
The end padding value
top
The top padding value
bottom
The bottom padding value
Types
Link copied to clipboard
open class Factory(initialStart: Dp? = null, initialEnd: Dp? = null, initialTop: Dp? = null, initialBottom: Dp? = null) : ModifierFieldValueFactory<PaddingModifierFieldValue>
Factory for creating PaddingModifierFieldValue instances with configurable initial values.
Properties
Functions
Link copied to clipboard
Renders the UI builder interface for configuring this modifier. This composable is typically displayed in the Preview Lab control panel.
Link copied to clipboard
Creates a modifier from this field value.
Link copied to clipboard
Combines this modifier field value with another to create a list.