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

Constructors

Link copied to clipboard
constructor(color: Color)

Types

Link copied to clipboard

Factory for creating BackgroundModifierFieldValue instances with configurable initial values.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun Builder()

Renders the UI builder interface for configuring this modifier. This composable is typically displayed in the Preview Lab control panel.

Link copied to clipboard
open override fun Modifier.createModifier(): Modifier

Creates a modifier from this field value.

Link copied to clipboard

Combines this modifier field value with another to create a list.