inContinuousDay method

bool inContinuousDay(
  1. DateDay day
)

在连续中

Implementation

bool inContinuousDay(DateDay day) =>
    _enableContinuous &&
        _firstSelectDay != null &&
        (_secondSelectDay == null && day == _firstSelectDay) ||
    (_secondSelectDay != null &&
        day >= _firstSelectDay! &&
        day <= _secondSelectDay!);