updateSelectedDate method
Updates the selected date context and validates the current time against it.
If the new date is today, future times will be restricted. @param newDate The new date to set as context for time validation
Implementation
void updateSelectedDate(DateTime newDate) {
selectedDate = newDate;
updateTime(_selectedHour, _selectedMinute);
}