onLongPress method Null safety

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

Hits while a long tap on the chart.

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

Implementation

void onLongPress(double xPos, double yPos);