MenuGroupShapes

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

Represents the shapes used for a DropdownMenuGroup.

Parameters

shape the default Shape to use for the group.
inactiveShape the 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.