onLongPress method

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

Enables the crosshair on long press.

Implementation

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