🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

ListItemShapes

Represents the shapes of a list item in different states.

Source set: Common
public class ListItemShapes(
    public val shape: Shape,
    public val selectedShape: Shape,
    public val pressedShape: Shape,
    public val focusedShape: Shape,
    public val hoveredShape: Shape,
    public val draggedShape: Shape,
)

Represents the shapes of a list item in different states.

Parameters

shape the default shape of the list item.
selectedShape the shape of the list item when selected.
pressedShape the shape of the list item when pressed.
focusedShape the shape of the list item when focused.
hoveredShape the shape of the list item when hovered.
draggedShape the shape of the list item when dragged.

Functions

copy

Source set: Common
public fun copy(
        shape: Shape? = this.shape,
        selectedShape: Shape? = this.selectedShape,
        pressedShape: Shape? = this.pressedShape,
        focusedShape: Shape? = this.focusedShape,
        hoveredShape: Shape? = this.hoveredShape,
        draggedShape: Shape? = this.draggedShape,
    ): ListItemShapes

Returns a copy of this ListItemShapes, optionally overriding some of the values.

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: