Scrollable Number
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.
initial Value
The initial value to be displayed.
range
The range of numbers to be displayed.
step Size
The step size between numbers.
on Value Change
A callback that is invoked when the selected number changes.