getTargetPageForFocus method

  1. @override
double getTargetPageForFocus(
  1. double focusPage,
  2. DayOfWeek firstDayOfWeek
)
override

Gets the page to align to the viewport's left side based on the focusPage to show.

Implementation

@override
double getTargetPageForFocus(double focusPage, DayOfWeek firstDayOfWeek) =>
    getTargetPageForCurrent(focusPage, firstDayOfWeek);