ButtonDefaults

Object holding default values used by buttons

Properties

Link copied to clipboard

A pre-defined size for buttons

Link copied to clipboard

A pre-defined size for buttons

Link copied to clipboard

A pre-defined size for buttons

Link copied to clipboard

A pre-defined size for buttons

Functions

Link copied to clipboard
@Composable
fun buttonColors(): ButtonColors

Creates a default ButtonColors object with the accent color from the Pico theme as the container color and the on-accent color from the Pico theme as the content color.

@Composable
fun buttonColors(containerColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified): ButtonColors

Creates a ButtonColors that represents the default container and content colors used in a Button.

Link copied to clipboard
fun buttonSize(width: Dp = Dp.Unspecified, height: Dp = Dp.Unspecified, minWidth: Dp = Dp.Unspecified, maxWidth: Dp = Dp.Unspecified, minHeight: Dp = Dp.Unspecified, maxHeight: Dp = Dp.Unspecified): ButtonSize

Creates a ButtonSize that presents sizes used by Button