VisibleRange.week constructor

const VisibleRange.week()

Display seven consecutive days, aligned based on TimetableController.firstDayOfWeek.

While scrolling, this only snaps to week boundaries.

When animating to a date (see TimetableController.animateTo), the week containing that date will fill the viewport.

Implementation

const factory VisibleRange.week() = WeekVisibleRange;