bool hitInsideSegment(Offset position) { _interactiveSegment = visibleSegmentAt(position); return _interactiveSegment != null; }