WidthModifierFieldValue

A modifier field value that sets the width of a component.

Parameters

width

The component width

Constructors

Link copied to clipboard
constructor(width: Dp)

Types

Link copied to clipboard

Factory for creating WidthModifierFieldValue instances with configurable initial values.

Properties

Link copied to clipboard
var width: Dp

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.