ButtonDefaults

Contains the default values used by Button.

Since

0.2.0

Properties

Link copied to clipboard
val contentPadding: PaddingValues

The default content padding applied inside the button.

Link copied to clipboard

The default minimum height of the button.

Link copied to clipboard
val defaultWidth: Dp

The default minimum width of the button.

Functions

Link copied to clipboard
fun style(colors: Colors = StyleDefaults.colors(), borders: Borders = StyleDefaults.borders(), scale: Scale = StyleDefaults.scale(), shapes: Shapes = StyleDefaults.shapes(), alpha: Alpha = StyleDefaults.alpha()): Style

Creates a default Style for the button with customizable style properties.