onEnter method

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

Enables the crosshair on mouse hover.

Implementation

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