horizontalOffset property
final
Which part of the content inside the viewport should be visible in the horizontal axis.
The ViewportOffset.pixels value determines the scroll offset that the viewport uses to select which part of its content to display. As the user scrolls the viewport horizontally, this value changes, which changes the content that is displayed.
Typically a ScrollPosition.
Implementation
final ViewportOffset horizontalOffset;