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