findSelectedDayOffset method

double findSelectedDayOffset()

Implementation

double findSelectedDayOffset() {
  final size = _scrollController.position.maxScrollExtent / (days.length / 3);
  return size * (days.indexOf(selectedDay)) / 3;
}