onTouchDown method

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

Enables the crosshair on touch down.

Implementation

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