# NumberPicker

@ Composable
fun NumberPicker (number: Int , modifier: Modifier = Modifier, range: IntRange ? = null, textStyle: TextStyle = LocalTextStyle.current, arrowsColor: Color = MaterialTheme.colorScheme.primary, allowUseManualInput: Boolean = true, onStateChanged: ( Int ) -> Unit = {})(source)

A Compose number picker component that allows users to select a number by dragging, using arrow buttons, or manually entering a value.

#### Parameters

number

The currently selected number

modifier

The modifier to be applied to the picker

range

Optional range of valid numbers. If specified, the picker will be limited to this range

textStyle

The text style for displaying numbers

arrowsColor

The color of the up/down arrow buttons

allowUseManualInput

Whether to allow manual keyboard input for the number

onStateChanged

Callback invoked when the selected number changes