WeekVisibleRange class

The Timetable will show exactly one week and will snap to week boundaries.

You can configure the first day of a week via TimetableController.firstDayOfWeek.

Inheritance

Constructors

WeekVisibleRange()
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
visibleDays int
final, inherited

Methods

getDefaultVelocityAddition(double velocity, Tolerance tolerance) double
@protected, inherited
getTargetPageForCurrent(double focusPage, DayOfWeek firstDayOfWeek, {double velocity = 0, Tolerance tolerance = Tolerance.defaultTolerance}) double
Gets the page to align to the viewport's left side based on the currentPage in that position.
override
getTargetPageForFocus(double focusPage, DayOfWeek firstDayOfWeek, {double velocity = 0, Tolerance tolerance = Tolerance.defaultTolerance}) double
Gets the page to align to the viewport's left side based on the focusPage to show.
override
getTargetPageForFocusDate(LocalDate focusDate, DayOfWeek firstDayOfWeek) double
Convenience method of getTargetPageForFocus taking a LocalDate.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited