viewportTranslatePx property
double
get
viewportTranslatePx
Returns the current pixel viewport offset
The translate is used by the scale function when it applies the scale. This is the equivalent to panning. Its value is likely <= 0 to pan the data to the left.
Implementation
double get viewportTranslatePx => scale!.viewportTranslatePx;