ButtonDefaults
object ButtonDefaults
Object holding default values used by buttons
Properties
Functions
Link copied to clipboard
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
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
Link copied to clipboard
Creates a default ButtonVibrants object with the accent vibrant from the Pico theme as the container vibrant and the on-accent vibrant from the Pico theme as the content vibrant.
@Composable
Creates a ButtonVibrants that represents the default container and content vibrants used in a Button.