shapes

@Composable
fun shapes(): ToggleButtonShapes

Creates a ToggleButtonShapes that represents the default shape, pressedShape, and checkedShape used in a ToggleButton.


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

Creates a ToggleButtonShapes that represents the default shape, pressedShape, and checkedShape used in a ToggleButton and its variants.

Parameters

shape

the unchecked shape for ToggleButtonShapes

pressedShape

the unchecked shape for ToggleButtonShapes

checkedShape

the unchecked shape for ToggleButtonShapes