forwardPage method

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

forwardPage will move the scrollbar with a distance of the inside view in the bottom direction.

Implementation

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