Source set: Common
public class MenuItemShapes(public val shape: Shape, public val selectedShape: Shape)
Represents the shapes used for a DropdownMenuItem in its various states.
Parameters
| shape | the Shape to use when the item is unselected. |
| selectedShape | the Shape to use when the item is selected. |
Functions
copy
Source set: Common
public fun copy(
shape: Shape? = this.shape,
selectedShape: Shape? = this.selectedShape,
): MenuItemShapes
Returns a copy of this MenuItemShapes, optionally overriding some of the values.
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int