ListItemShapes
Represents the shapes of a list item in different states.
Summary
Public constructors |
|
|---|---|
|
Cmn
|
Public functions |
||
|---|---|---|
ListItemShapes |
copy(Returns a copy of this |
Cmn
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
Public properties |
||
|---|---|---|
Shape |
the shape of the list item when dragged. |
Cmn
|
Shape |
the shape of the list item when focused. |
Cmn
|
Shape |
the shape of the list item when hovered. |
Cmn
|
Shape |
the shape of the list item when pressed. |
Cmn
|
Shape |
the shape of the list item when selected. |
Cmn
|
Shape |
the default shape of the list item. |
Cmn
|
Public constructors
ListItemShapes
ListItemShapes(
shape: Shape,
selectedShape: Shape,
pressedShape: Shape,
focusedShape: Shape,
hoveredShape: Shape,
draggedShape: Shape
)
| Parameters | |
|---|---|
shape: Shape |
the default shape of the list item. |
selectedShape: Shape |
the shape of the list item when selected. |
pressedShape: Shape |
the shape of the list item when pressed. |
focusedShape: Shape |
the shape of the list item when focused. |
hoveredShape: Shape |
the shape of the list item when hovered. |
draggedShape: Shape |
the shape of the list item when dragged. |
Public functions
copy
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.