scrollOffsetX property
The current horizontal scroll offset.
Indicates how much the content is scrolled horizontally.
Implementation
@override
double get scrollOffsetX => horizontalOverflow.reverse
? contentSize.width - viewportSize.width - horizontal.pixels
: horizontal.pixels;