Returns whether the date is the start of the selected range or not.
date
bool dateIsStart(DateTime date) { if (startDate == null) { return false; } return areSameDay(date, startDate!); }