backwardPage method

void backwardPage({
  1. bool align = true,
  2. bool? animate,
})

backwardPage will move the scrollbar with a distance of the inside view in the top direction.

Implementation

void backwardPage({bool align = true, bool? animate}){
  final o = align ? offset - (visibleItems.floor() * scrollPerItem) : offset - inside;
  scrollToPos(o, animate: animate);
}