Time Picker Items
Selectable item lists for io.github.kezlab.compose.pickers.time.TimePicker.
Lists must be non-empty, contain distinct values, stay within their documented ranges, and contain the current state selection for the active time format. constraints are applied after the hour, minute, and period item lists. Treat item lists as immutable after passing them to a picker; create a new TimePickerItems when available values change.
Parameters
Minute values available for selection. Values must be in 0..59.
Hour values available when using 24-hour time. Values must be in 0..23.
Display-hour values available when using 12-hour time. Values must be in 1..12.
AM/PM values available when using 12-hour time.
Inclusive time bounds applied after the hour, minute, and period item lists.
See also
Constructors
Properties
Functions
Returns the closest selectable time for time under timeFormat.
Returns the closest selectable time for hour and minute under timeFormat.
Returns the closest selectable time for a 12-hour display value.
Returns whether time is directly selectable under timeFormat.
Returns whether hour and minute are directly selectable under timeFormat.
Returns whether displayHour, minute, and period are directly selectable in 12-hour mode.