androidx.compose.material3

MenuItemShapesSince 1.11

Class

No hand-written docs yet.

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

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

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a MenuItemShapes.

Properties

shape

val shape: Shape

selectedShape

val selectedShape: Shape

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.

Library docs

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