1. override
Future<Null> settleScrollOffset()

Animate the scroll offset to a value with a local minima of energy.

Calling this function starts a physics-based animation of the scroll offset either to a snap point or to within the scrolling bounds. The physics simulation used is determined by the scroll behavior.

Source

@override
Future<Null> settleScrollOffset() {
  return scrollTo(snapScrollOffset(scrollOffset), duration: config.duration, curve: config.curve)
    .then(_notifyPageChanged);
}