time Picker Constraints
fun timePickerConstraints(minTime: LocalTime? = null, maxTime: LocalTime? = null): TimePickerConstraints
Creates inclusive time constraints for a time picker.
Return
A TimePickerConstraints instance with the specified bounds.
Parameters
min Time
The earliest selectable time, inclusive. Pass null to omit the lower bound.
max Time
The latest selectable time, inclusive. Pass null to omit the upper bound.