anchor.diff:      unreadCounter.clear();
     }
   
  +  void open() {
  +    if (!_expanded) {
  +      _toggleExpanded();
  +    }
  +  }
  +
  +  void close() {
  +    if (_expanded) {
  +      _toggleExpanded();
  +    }
  +  }
  +
     void _toggleExpanded() {
       _expanded = !_expanded;
       if (_expanded) {
  
positive.code:             htmlEditor.resize();
              cssEditor.resize();
            });
      } else {
        consoleExpandController =
            Console(DElement(querySelector('#console-output-container')));
  
negative.code:       });
  
      if (options.mode == EmbedMode.flutter || options.mode == EmbedMode.html) {
        var controller = ConsoleExpandController(
            expandButton: querySelector('#console-output-header'),
            footer: querySelector('#console-output-footer'),
            expandIcon: querySelector('#console-expand-icon'),
  