offset property

ViewportOffset offset
final

Which part of the content inside the viewport should be visible.

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, this value changes, which changes the content that is displayed.

Typically a ScrollPosition.

Implementation

final ViewportOffset offset;