1. override
double scrollOffsetToPixelOffset(double scrollOffset)

Convert a scrollOffset value to the number of pixels to which it corresponds.

This function should be the inverse of pixelOffsetToScrollOffset.

Source

@override
double scrollOffsetToPixelOffset(double scrollOffset) {
  return super.scrollOffsetToPixelOffset(scrollOffset * pixelsPerScrollUnit);
}