isStartDateRadius method

bool isStartDateRadius(
  1. DateTime date
)

Implementation

bool isStartDateRadius(DateTime date) {
  if (startDate != null &&
      startDate!.day == date.day &&
      startDate!.month == date.month) {
    return true;
  } else if (date.weekday == 1) {
    return true;
  } else {
    return false;
  }
}