anchor.diff:    StreamSubscription<MouseEvent> mouseDownListener;
     StreamSubscription<MouseEvent> mouseUpListener;
     EventListener listener;
  -
  -  if (enableNewTriggerLogic == null) {
  -    enableNewTriggerLogic ??= true;
  -  }
   
     controller = StreamController.broadcast(
         sync: true,
  
positive.code:           controller.add(e);
          };
  
          // If new trigger logic is enabled listen to mouse down events. When it
          // is not enabled old logic will be used because the lastMouseDown event
          // will always be null.
          if (enableNewTriggerLogic) {
            // Keep track of mousedown events so that we can filter mouseup events
            // that occurred on a different element than the mousedown.
            mouseDownListener = document.onMouseDown.listen((MouseEvent e) {
              lastDownEvent = e;
            });
          }
  
          // Listen to mouseup to prevent scenarios where a single click event
          // both opens and closes an element.
  
negative.code:   return triggersOutsideAny((node) => node == element);
  }
  
  /// A stream of click, mouseup or focus events of any node none of whose parents
  /// pass the check inside function.
  Stream<Event> triggersOutsideAny(Predicate<Node> checkNodeInside) {
  