pageSnapping property
Set to false to disable page snapping, useful for custom scroll behavior.
If the padEnds
is false and PageController.viewportFraction < 1.0,
the page will snap to the beginning of the viewport; otherwise, the page
will snap to the center of the viewport.
Implementation
final bool pageSnapping;