Number Picker
A NumberPicker component with Miuix style.
A vertical scroll picker that displays a range of numbers with the selected value centered. Items fade out and scale down as they move away from the center.
Parameters
The current selected value. If outside range, it will be coerced into the range.
The callback invoked when the selected value changes.
The modifier to be applied to the NumberPicker.
Whether the NumberPicker is enabled for user interaction.
The range of selectable values.
A function that converts a value to its display string.
The number of visible items. Must be odd and at least 3.
Whether the picker wraps around from the last item to the first (infinite scrolling).
The NumberPickerColors for this NumberPicker.
The TextStyle for the picker items.
The height of each item in the picker.