Class

MenuItemShapes

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

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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: