Represents the shapes used for a DropdownMenuItem in its various states.

Summary

Public constructors

MenuItemShapes(shape: Shape, selectedShape: Shape)
Cmn

Public functions

MenuItemShapes
copy(shape: Shape?, selectedShape: Shape?)

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

Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Shape

the Shape to use when the item is selected.

Cmn
Shape

the Shape to use when the item is unselected.

Cmn

Public constructors

MenuItemShapes(shape: Shape, selectedShape: Shape)
Parameters
shape: Shape

the Shape to use when the item is unselected.

selectedShape: Shape

the Shape to use when the item is selected.

Public functions

copy

fun copy(shape: Shape? = this.shape, selectedShape: Shape? = this.selectedShape): MenuItemShapes

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

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

selectedShape

val selectedShapeShape

the Shape to use when the item is selected.

shape

val shapeShape

the Shape to use when the item is unselected.