androidx.compose.material3

VerticalDragHandleDefaultsSince 1.9

Object

No hand-written docs yet.

Contains the baseline values used by a VerticalDragHandle.

object VerticalDragHandleDefaults

Functions

colors

@Composable
fun colors(): DragHandleColors

Creates a DragHandleColors that represents the default, pressed, and dragged colors used in a VerticalDragHandle.

@Composable
fun colors(
    color: Color = Color.Unspecified,
    pressedColor: Color = Color.Unspecified,
    draggedColor: Color = Color.Unspecified,
): DragHandleColors

Creates a DragHandleColors that represents the default, pressed, and dragged colors used in a VerticalDragHandle.

shapes

@Composable
fun shapes(): DragHandleShapes

Creates a DragHandleShapes that represents the default, pressed, and dragged shapes used in a VerticalDragHandle.

@Composable
fun shapes(
    shape: Shape? = null,
    pressedShape: Shape? = null,
    draggedShape: Shape? = null,
): DragHandleShapes

Creates a DragHandleShapes that represents the default, pressed, and dragged shapes used in a VerticalDragHandle.

sizes

fun sizes(): DragHandleSizes

Creates a DragHandleSizes that represents the default, pressed, and dragged sizes used in a VerticalDragHandle.

fun sizes(
    size: DpSize = DpSize.Unspecified,
    pressedSize: DpSize = DpSize.Unspecified,
    draggedSize: DpSize = DpSize.Unspecified,
): DragHandleSizes

Creates a DragHandleSizes that represents the default, pressed, and dragged sizes used in a VerticalDragHandle.

Library docs

Contains the baseline values used by a VerticalDragHandle.