ScrollableNumber

fun ScrollableNumber(modifier: Modifier = Modifier, initialValue: Int = 50, range: IntRange = 0..99, stepSize: Int = 1, onValueChange: (Int) -> Unit)

A composable function that displays a scrollable list of numbers. The user can scroll through the numbers, and the selected number will be highlighted.

Parameters

modifier

The modifier to be applied to the composable.

initialValue

The initial value to be displayed.

range

The range of numbers to be displayed.

stepSize

The step size between numbers.

onValueChange

A callback that is invoked when the selected number changes.