SpatialScrollBehavior
A custom FlingBehavior and OverscrollEffect implementation that simulates a spring-like behavior when scrolling past the boundaries of the content.
This implementation separates the physics engine from the platform defaults, allowing for customizable fling decay and spring back animations.
Constructors
Properties
Remaining vertical velocity captured when fling reaches a scroll boundary.
Remaining horizontal velocity captured when fling reaches a scroll boundary.
Maximum vertical overscroll offset recorded during the latest interaction.
Maximum horizontal overscroll offset recorded during the latest interaction.
Vertical fling velocity received when the latest fling was released.
Horizontal fling velocity received when the latest fling was released.
Whether the latest vertical fling direction was downward.
Whether the latest horizontal fling direction was rightward.