SizeModifierFieldValue
A modifier field value that sets both width and height of a component.
Parameters
width
The component width
height
The component height
Types
Link copied to clipboard
class Factory(initialWidth: Dp? = null, initialHeight: Dp? = null) : ModifierFieldValueFactory<SizeModifierFieldValue>
Factory for creating SizeModifierFieldValue 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.