BorderModifierFieldValue
A modifier field value that applies a border to a component.
Parameters
color
The border color
width
The border width
Types
Link copied to clipboard
class Factory(initialColor: Color? = null, initialWidth: Dp? = null) : ModifierFieldValueFactory<BorderModifierFieldValue>
Factory for creating BorderModifierFieldValue 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.