Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun Stepper(value: Int, onValueChange: (Int) -> Unit, modifier: Modifier = Modifier, range: IntRange = 0..10, suffix: String = "", step: Int = 1, enabled: Boolean = true, status: FormFieldStatus? = null, flexible: Boolean = false, testTag: String? = null, allowSemantics: Boolean = true)

Stepper come with decrease and increase buttons on either side of the selected value. A minimum and maximum value need to be provided

Link copied to clipboard
fun StepperForm(value: Int, onValueChange: (Int) -> Unit, label: String, helper: String?, modifier: Modifier = Modifier, range: IntRange = 0..10, suffix: String = "", step: Int = 1, enabled: Boolean = true, required: Boolean = false, status: FormFieldStatus? = null, statusMessage: String? = null, flexible: Boolean = false, testTag: String? = null)

Variant of Stepper that insert it with a label and a helper.

Link copied to clipboard
fun Modifier.stepperSemantics(value: Int, onValueChange: (Int) -> Unit, range: IntRange, step: Int, suffix: String?, enabled: Boolean): Modifier

Adds semantics to a Stepper component, enabling accessibility features from TalkBack.