BackgroundModifierFieldValue
A modifier field value that applies a background color to a component.
Allows configuring the background color of a component through an interactive color picker in the Preview Lab interface.
Parameters
color
The background color to apply
Types
Link copied to clipboard
class Factory(initialColor: Color? = null) : ModifierFieldValueFactory<BackgroundModifierFieldValue>
Factory for creating BackgroundModifierFieldValue 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.