getScrollableMaxX method

double getScrollableMaxX(
  1. double zoomRatio
)

Calculate maximum X that can be acceptable as a horizontal scroll position.

Implementation

double getScrollableMaxX(double zoomRatio) =>
    getFullSize(zoomRatio).width - _state!._lastViewSize!.width;