OffsetModifierFieldValue
ModifierFieldValue that applies positional offset to a composable.
Parameters
x
The horizontal offset in Dp. Positive values move to the right.
y
The vertical offset in Dp. Positive values move downward.
Types
Link copied to clipboard
class Factory(initialX: Dp? = null, initialY: Dp? = null) : ModifierFieldValueFactory<OffsetModifierFieldValue>
Factory for creating OffsetModifierFieldValue instances with configurable initial values.
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.