isOverObject method

  1. @override
bool isOverObject(
  1. Offset offset
)
override

Implementation

@override
bool isOverObject(Offset offset) {
  return offset.distanceToLine(location, _endOffset) < 10;
}