ButtonControl
constructor(text: String, buttonType: ButtonType = ButtonType.Filled, dependencies: Map<String, ControlDependency<*>>? = null, actions: List<ControlAction<Unit>>)
Parameters
text
Text shown on the button.
buttonType
Visual style of the button (FILLED by default).
dependencies
Visibility dependencies on other controls.
actions
Actions to run on click. Must contain at least one action.