Number Picker
A NumberPicker component with COUI style.
A vertical scroll picker that displays a range of numbers with the selected value centered. The centered item is enlarged and highlighted; items transition to the normal size and color within half an item of the center, matching the COUI picker.
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.