style

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.

Since

0.5.0

Parameters

colors

The colors for the button in different states.

borders

The borders for the button in different states.

scale

The scale for the button in different states.

shapes

The shapes for the button in different states.

alpha

The alpha for the button in different states.