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 font: KalugaFont

the KalugaFont that the text is in

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

Link copied to clipboard
Link copied to clipboard
abstract val textSize: Float

the size of the text

Functions

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

Gets the StateStyle of the button depending on the state

Link copied to clipboard
open fun getStateTextStyle(isEnabled: Boolean, isPressed: Boolean): KalugaTextStyle

Gets the KalugaTextStyle of the button depending on the state