onDoubleTap method

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

Enables the crosshair on double tap.

Implementation

@override
void onDoubleTap(double xPos, double yPos) =>
    _crosshairRenderingDetails._crosshairBehavior.show(xPos, yPos, 'pixel');