flutter_datetime_picker
flutter_datetime_picker copied to clipboard
minTime and maxTime in the same day and hour fix
Applies for "date-hour-min" user interface. Not tested with other UI picker variants.
Passing minTime and maxTime parameters that are in the same day causes maxTime hours and minutes to be set to the logical maximum i.e. 23/59. Passing minTime and maxTime parameters that are in the same hour causes minTime hours and minutes to be set to minimum hour from the parameter and minutes to be set to '0'.
This fix includes: Correctly set items in list for hour and minutes when minTime and maxTime are in the same day. Correctly set items in list for hour and minutes when minTime and maxTime are in the same hour.
Hi there what does your fix do i don't understand