onLongPress method

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

Performs the long press action.

Hits while a long tap on the chart.

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

Implementation

@override
void onLongPress(double xPos, double yPos) =>
    _trackballRenderingDetails.trackballBehavior.show(xPos, yPos, 'pixel');