pressedStyle

abstract fun pressedStyle(dsl: StateStyleDSL.() -> Unit)

Sets pressedStyle using the creation using a StateStyleDSL The StateStyleDSL will be preconfigured with the layout of the previous pressedStyle or defaultStyle if null

Parameters

dsl

configures the StateStyle for pressedStyle. Will be preconfigured with the last known pressedStyle of defaultStyle if null


abstract var pressedStyle: StateStyle?

the StateStyle that the button is in when pressed. If null defaultStyle will be used