EasyFormsTriCheckboxState

data class EasyFormsTriCheckboxState(defaultValue: ToggleableState, isRequired: Boolean) : EasyFormsState<MutableState<ToggleableState>, Nothing>

Constructors

EasyFormsTriCheckboxState
Link copied to clipboard
fun EasyFormsTriCheckboxState(defaultValue: ToggleableState = ToggleableState.Indeterminate, isRequired: Boolean = true)

Functions

mapToResult
Link copied to clipboard
open override fun mapToResult(key: Any): EasyFormsResult
rememberSaveable
Link copied to clipboard
fun rememberSaveable(): MutableState<ToggleableState>
Returns a rememberSaveable state that will survive across configuration changes

Properties

errorState
Link copied to clipboard
val errorState: MutableState<EasyFormsErrorState>
The error state that is used across all children of EasyFormsState.
onClick
Link copied to clipboard
val onClick: () -> Unit
Used instead of onValueChangedCallback as this widget only accepts onClick.
onValueChangedCallback
Link copied to clipboard
open override val onValueChangedCallback: (Nothing) -> Unit
state
Link copied to clipboard
open override val state: MutableState<ToggleableState>
This is the ST you defined when you inherited from this class.

Sources

androidJvm source
Link copied to clipboard