physics property

ScrollPhysics? physics
final

How the page view should respond to user input. For example, determines how the page view continues to animate after the user stops dragging the page view. The physics are modified to snap to page boundaries using PageScrollPhysics prior to being used. Defaults to matching platform conventions.

Implementation

final ScrollPhysics? physics;