CalculateTouchDistance typedef

CalculateTouchDistance = double Function(Offset touchPoint, Offset spotPixelCoordinates)

Used to calculate the distance between coordinates of a touch event and a spot

Implementation

typedef CalculateTouchDistance = double Function(
  Offset touchPoint,
  Offset spotPixelCoordinates,
);