InputType

sealed interface InputType

Defines the type of input UI to display for the number field.

Inheritors

Types

Link copied to clipboard
data class Slider(val min: Int, val max: Int) : NumberField.InputType

Slider input for selecting values within a range.

Link copied to clipboard
data class TextField(val prefix: @Composable () -> Unit? = null, val suffix: @Composable () -> Unit? = null) : NumberField.InputType

Text field input with optional prefix and suffix composables.