getStateTextStyle

fun getStateTextStyle(isEnabled: Boolean, isPressed: Boolean): KalugaTextStyle

Gets the KalugaTextStyle of the button depending on the state

Return

the KalugaTextStyle to apply to the text of the button in the current state

Parameters

isEnabled

if true the button is enabled

isPressed

if true the button is pressed