Types

Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
abstract val defaultStyle: StateStyle

the StateStyle that the button is in by default

Link copied to clipboard

the StateStyle that the button is in when disabled

Link copied to clipboard
abstract val padding: Padding

the Padding of the content of the button

Link copied to clipboard
abstract val pressedStyle: StateStyle

the StateStyle that the button is in when pressed

Functions

Link copied to clipboard
open fun getStateStyle(isEnabled: Boolean, isPressed: Boolean): StateStyle

Gets the StateStyle of the button depending on the state