DefaultModifierFieldValueBuilderDefaultMenuScope

Scope class for default menu items in ModifierFieldValue builders. Provides utility functions for consistent menu item styling.

Constructors

constructor()

Functions

Link copied to clipboard

Creates a color picker menu item with label and interactive color selection.

Link copied to clipboard

Creates a default menu item with consistent styling and layout.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> DefaultModifierFieldValueBuilderDefaultMenuScope.SelectItem(label: String, value: T, choices: List<T>, title: (T) -> String, onValueChange: (T) -> Unit)
Link copied to clipboard
fun <Value> DefaultModifierFieldValueBuilderDefaultMenuScope.TextFieldItem(label: String, value: Value, onValueChange: (Value) -> Unit, transformer: Transformer<Value>, suffix: String? = null)