Start native apps faster with the Composables CLI ->
Class

ButtonSize

ButtonSize represents the different size variants of a Button.

Source set: Android
public class ButtonSize internal constructor(private val value: Int)

ButtonSize represents the different size variants of a Button. ButtonSize will affect default values used inside a Button, such as the minimum height and the size of icons.

Members

Companion

Source set: Android
public companion object

Properties

Medium

Source set: Android
public val Medium: ButtonSize = ButtonSize(1)

ButtonSize representing a medium Button. This is the default size.

Large

Source set: Android
public val Large: ButtonSize = ButtonSize(2)

ButtonSize representing a large Button.