acceptEvent method

bool acceptEvent(
  1. Offset eventLoc
)

Implementation

bool acceptEvent(Offset eventLoc) {
  final double tolerance = _radius + 10 * scaleRatio;
  if ((eventLoc.dx - loc.dx).abs() <= tolerance &&
      (eventLoc.dy - loc.dy).abs() <= tolerance) {
    return true;
  }
  return false;
}