Plain

constructor(text: String, style: KalugaButtonStyle, isEnabled: Boolean = true, action: () -> Unit)

Parameters

style

the KalugaButtonStyle of the button

isEnabled

if true the button can be interacted with

action

function to execute when the button is pressed