onPan method Null safety

void onPan(
  1. double xPos,
  2. double yPos
)

Hits while double tapping on the chart.

  • xPos - X value of the pan position.
  • yPos - Y value of the pan position.

Implementation

void onPan(double xPos, double yPos);