commonRanges function

List<DatepickerDateRange> commonRanges(
  1. Clock clock
)

Implementation

List<DatepickerDateRange> commonRanges(Clock clock) => [
      today(clock),
      yesterday(clock),
      thisWeek(clock),
      lastWeek(clock),
      thisMonth(clock),
      lastMonth(clock),
      allTime,
    ];