Struct PageScrollState
sealed struct PageScrollState
Represents the current scroll state for the PagerView.
Fields
Constants
IDLE
The PagerView is stationary and not being scrolled. This state indicates that:PageScrollState={0}
- No user interaction is in progress
- The current page is fully in view
DRAGGING
The PagerView is actively being scrolled due to user interaction. This state indicates that:PageScrollState={1}
- The user is currently interacting and moving the PagerView
- The view may be between pages
SETTLING
The PagerView is automatically animating to its final position. This state indicates that:PageScrollState={2}
- The user is not actively interacting with the view
- The view is moving towards a stable position

