MenuGroupShapes

Represents the shapes used for a [DropdownMenuGroup].

MenuGroupShapes

Class

Common
@ExperimentalMaterial3ExpressiveApi
class MenuGroupShapes(val shape: Shape, val inactiveShape: Shape)

Represents the shapes used for a DropdownMenuGroup.

Parameters

shapethe default Shape to use for the group.
inactiveShapethe Shape to use when the group has stop being hovered.

Functions

fun copy(shape: Shape? = this.shape, inactiveShape: Shape? = this.inactiveShape) =
        MenuGroupShapes(
            shape = shape.takeOrElse { this.shape },
            inactiveShape = inactiveShape.takeOrElse { this.inactiveShape },
        )

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