dateIsStart method

bool dateIsStart(
  1. DateTime date
)

Returns whether the date is the start of the selected range or not.

Implementation

bool dateIsStart(DateTime date) {
  if (startDate == null) {
    return false;
  }

  return areSameDay(date, startDate!);
}