shapes

@Composable
fun shapes(): ButtonShapes

Creates a ButtonShapes that represents the default shape and pressed shape used in a button.


@Composable
fun shapes(shape: Shape? = null, pressedShape: Shape? = null): ButtonShapes

Creates a ButtonShapes that represents the default shape and pressedShape used in a Button and its variants.

Parameters

shape

the unchecked shape for ButtonShapes

pressedShape

the unchecked shape for ButtonShapes