onTouchDown method

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

Performs the touch-down action.

Hits while tapping on the chart.

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

Implementation

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