VisibleDateRange.days constructor
VisibleDateRange.days(})
A visible range that shows visibleDayCount consecutive days.
This range snaps to every swipeRange days (defaults to every day) that
are aligned to alignmentDate (defaults to today).
When set, swiping is limited from minDate to maxDate so that both can
still be seen.
Implementation
factory VisibleDateRange.days(
int visibleDayCount, {
int swipeRange,
DateTime? alignmentDate,
DateTime? minDate,
DateTime? maxDate,
}) = DaysVisibleDateRange;