scrollXListener method
void
scrollXListener()
Implementation
void scrollXListener() {
assert(scrollListener != null);
// If scroll is happening, that element has been unmounted, prevent null usage.
if (scrollOffsetX != null) {
scrollListener!(scrollOffsetX!.pixels, AxisDirection.right);
markNeedsPaint();
}
}