InputCheckbox
class InputCheckbox(text: String, enabled: Boolean = false, changeListener: (Boolean) -> Unit? = null, resultListener: (Boolean) -> Unit? = null, key: String? = null, required: Boolean = false, header: InputHeader? = null, columns: Int? = null) : Input
Represents a checkbox.
Parameters
text
The text to the checkbox.
enabled
If enabled or not by default.
changeListener
The listener that returns the changed value.
resultListener
The listener that returns the final value.
key
The key of the input that is used for saving the data in the result bundle. (Alternatively the index of the input is used.)
required
If the input is required to finish the dialog.
header
The additional InputHeader to add more context information to the selection.
columns
The columns that this input spans.