Solved: PageView: Disable the default scrolling and replace it with Tap event

Question

Asked by Shady A on December 31, 2017 (source).

If I have a PageView, how can I disable the default scroll behavior (swiping) and make it such that the next item is scrolled into view by tapping on a button instead?

Answer

Question answered by Christopher T (source).

To disable swiping you can set:

PageView(physics: NeverScrollableScrollPhysics())
DART FLUTTER
SHARE: