Time Picker
A TimePicker component with COUI style.
Hour and minute scroll wheels arranged like the COUI time picker (COUITimeLimitPicker). In 12-hour mode an AM/PM wheel is added; COUI places it before the hour wheel for locales whose time pattern starts with the day period (e.g. Chinese) and after the minute wheel otherwise, which is controlled here by amPmFirst. Optional unit labels (e.g. "h" / "min") are drawn beside the selected row, matching the COUI unit text.
Parameters
The currently selected time. The hour is always in 24-hour form.
The callback invoked when the selected time changes.
The modifier to be applied to the TimePicker.
Whether the TimePicker is enabled for user interaction.
Whether the hour wheel uses the 24-hour format. When false, hours display as 1..12 with an AM/PM wheel.
Whether the AM/PM wheel is placed before the hour wheel (only used when is24Hour is false).
The display string for AM on the AM/PM wheel.
The display string for PM on the AM/PM wheel.
The unit label drawn beside the selected hour; empty to hide.
The unit label drawn beside the selected minute; empty to hide.
The width of the hour column.
The width of the minute column.
The width of the AM/PM column.
The NumberPickerColors for the wheels.
The TextStyle for the wheel items.
The height of each wheel item.
The padding around the wheel columns.