androidx.compose.material3

SplitButtonShapesSince 1.10

Class

No hand-written docs yet.

The shapes that will be used in SplitButtonLayout. Split button will morph between these shapes depending on the interaction of the buttons, assuming all of the shapes are CornerBasedShapes.

class SplitButtonShapes(
    shape: Shape,
    pressedShape: Shape?,
    checkedShape: Shape?,
)

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a SplitButtonShapes.

Properties

shape

val shape: Shape

pressedShape

val pressedShape: Shape?

checkedShape

val checkedShape: Shape?
Library docs

The shapes that will be used in SplitButtonLayout. Split button will morph between these shapes depending on the interaction of the buttons, assuming all of the shapes are CornerBasedShapes.