Factory

Factory for creating AlphaModifierFieldValue instances with configurable initial value

Provides UI for setting the alpha value before creating the modifier field value. Includes validation to ensure alpha is set before creation.

Parameters

initialAlpha

Starting alpha value (optional)

Constructors

Link copied to clipboard
constructor(initialAlpha: Float? = null)

Properties

Link copied to clipboard
var alpha: Float?
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.

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<AlphaModifierFieldValue>

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