ToggleButton

fun ToggleButton(defaultToggled: Boolean = false, toggleableStyle: Button.ButtonStyle = Styles.defaultb)

Parameters

toggleableStyle

the style of this button. Must support the checked state, otherwise an exception will be thrown.