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.

Parameters

color

provides a different color to override the default color of the drag handle when it's not being pressed.

pressedColor

provides a different color to override the color of the drag handle when it's being pressed but not dragged.

draggedColor

provides a different color to override the color of the drag handle when it's being dragged.