Package-level declarations

Types

Link copied to clipboard

Modifier field value for controlling component transparency

Link copied to clipboard

ModifierFieldValue that animates content size changes with smooth transitions.

Link copied to clipboard

ModifierFieldValue that applies an aspect ratio constraint to a composable.

Link copied to clipboard

A modifier field value that applies a background color to a component.

Link copied to clipboard

A modifier field value that applies a border to a component.

Link copied to clipboard

A ModifierFieldValue that captures layout rectangle (position and size) changes

Link copied to clipboard

A ModifierFieldValue that captures layout offset changes

Link copied to clipboard

A ModifierFieldValue that captures layout size changes

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

Link copied to clipboard

A modifier field value that makes a component fill the maximum available height.

Link copied to clipboard

A modifier field value that makes a component fill the maximum available size.

Link copied to clipboard

A modifier field value that makes a component fill the maximum available width.

Link copied to clipboard

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

Link copied to clipboard
class MenuState
Link copied to clipboard

Default configuration object for ModifierBuilder functionality. Provides default sets of modifier field value factories organized by category.

Link copied to clipboard

Represents a value that can be applied as a Modifier to Compose components.

Link copied to clipboard

Type alias for a list of ModifierFieldValueFactory instances. Used to represent collections of different modifier factories.

Link copied to clipboard

Factory interface for creating ModifierFieldValue instances with UI for configuration.

Link copied to clipboard

A list of ModifierFieldValue objects that can be combined to create a composite modifier.

Link copied to clipboard

ModifierFieldValue that applies positional offset to a composable.

Link copied to clipboard
class PaddingModifierFieldValue(start: Dp, end: Dp, top: Dp, bottom: Dp) : ModifierFieldValue

A modifier field value that applies padding to a component.

Link copied to clipboard

ModifierFieldValue that applies rotation transformation to a composable.

Link copied to clipboard

A modifier field value that scales a component.

Link copied to clipboard

A modifier field value that sets both width and height of a component.

Link copied to clipboard

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

Link copied to clipboard

ModifierFieldValue that wraps the content height to match the content bounds.

Link copied to clipboard

ModifierFieldValue that wraps the content size (both width and height) to match the content bounds.

Link copied to clipboard

ModifierFieldValue that wraps the content width to match the content bounds.

Link copied to clipboard

ModifierFieldValue that controls the layering order (Z-index) of a composable.

Functions

Link copied to clipboard

Adds alpha/transparency to this modifier list.

Link copied to clipboard

Animates content size changes with smooth transitions.

Link copied to clipboard

Sets the aspect ratio constraint for this modifier list.

Link copied to clipboard

Adds a background color to this modifier list.

Link copied to clipboard

Adds a border to this modifier list with specified color and width.

Link copied to clipboard
fun ModifierFieldValueList.captureLayoutRect(captureType: CaptureLayoutRectModifierFieldValue.Type = CaptureLayoutRectModifierFieldValue.Type.PositionInRoot): ModifierFieldValueList

Extension function to add layout rectangle capture functionality to ModifierFieldValueList

Link copied to clipboard

Extension function to add offset capture functionality to ModifierFieldValueList

Link copied to clipboard

Extension function to add size capture functionality to ModifierFieldValueList

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

Adds a fillMaxHeight modifier to this modifier list.

Link copied to clipboard

Adds a fillMaxSize modifier to this modifier list.

Link copied to clipboard

Adds a fillMaxWidth modifier to this modifier list.

Link copied to clipboard

Sets the height of this modifier list to the specified value.

Link copied to clipboard
Link copied to clipboard

Offsets this modifier list uniformly in both X and Y directions.

Offsets this modifier list by the specified X and Y coordinates.

Link copied to clipboard

Adds equal padding to all sides of this modifier list.

fun ModifierFieldValueList.padding(horizontal: Dp = 0.dp, vertical: Dp = 0.dp): ModifierFieldValueList

Adds padding to this modifier list with horizontal and vertical values.

fun ModifierFieldValueList.padding(start: Dp = 0.dp, end: Dp = 0.dp, top: Dp = 0.dp, bottom: Dp = 0.dp): ModifierFieldValueList

Adds padding to this modifier list with individual side values.

Link copied to clipboard

Rotates this modifier list by the specified degrees.

Link copied to clipboard

Scales this modifier list uniformly in both X and Y directions.

Scales this modifier list with separate X and Y scale factors.

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

Adds equal size to this modifier list for both width and height.

fun ModifierFieldValueList.size(width: Dp = 0.dp, height: Dp = 0.dp): ModifierFieldValueList

Adds size to this modifier list with individual width and height values.

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

Sets the width of this modifier list to the specified value.

Link copied to clipboard

Wraps the content height to match the content bounds.

Link copied to clipboard

Wraps the content size (both width and height) to match the content bounds.

Link copied to clipboard

Wraps the content width to match the content bounds.

Link copied to clipboard

Sets the Z-index (layering order) for this modifier list.