anchor.diff:    }
   
     //* Toggle the opened state of the dropdown.
  -  void toggle([bool inOpened]) {
  -    final bool newOpened = inOpened != null ? inOpened : !opened;
  -    if (newOpened != opened) {
  -      opened = newOpened;
  +  void _toggle(bool inOpened) {
  +    if (inOpened != opened) {
  +      opened = inOpened;
         // TODO(ussuri): A temporary plug to make spark-overlay see changes
         // in 'opened' when run as deployed code. Just binding via {{opened}}
         // alone isn't detected and the menu doesn't open.
  
positive.code:     }
    }
  
    void open() => toggle(true);
  
    void close() => toggle(false);
  
    //* Handle the on-opened event from the dropdown. It will be fired e.g. when
    //* mouse is clicked outside the dropdown (with autoClosedDisabled == false).
  
negative.code: 
    void menuActivateHandler(CustomEvent e, var details) {
      if (details['isSelected']) {
        _toggle(false);
      }
    }
  
  