Factory

Factory for creating WidthModifierFieldValue instances with configurable initial values.

Parameters

initialWidth

Initial width value for the component

Constructors

Link copied to clipboard
constructor(initialWidth: Dp? = null)

Properties

Link copied to clipboard
open override val canCreate: Boolean

Whether this factory can currently create a new modifier field value. Typically based on the current configuration state.

Link copied to clipboard
open override val title: String

The display title for this modifier type in the UI.

Link copied to clipboard
var width: Dp?

Functions

Link copied to clipboard
open override fun Content(createButton: @Composable () -> Unit)

Renders the configuration UI content for this modifier.

Link copied to clipboard
open override fun create(): Result<WidthModifierFieldValue>

Creates a new modifier field value instance based on current configuration.