@override bool hitTest(Offset point) { if (yPosition == null) return false; const tolerance = 5.0; return (point.dy - yPosition!).abs() <= tolerance; }