date Picker Constraints
fun datePickerConstraints(minDate: LocalDate? = null, maxDate: LocalDate? = null): DatePickerConstraints
Creates inclusive date constraints for a date picker.
Return
A DatePickerConstraints instance with the specified bounds.
Parameters
min Date
The earliest selectable date, inclusive. Pass null to omit the lower bound.
max Date
The latest selectable date, inclusive. Pass null to omit the upper bound.