markNeedsRebuild method

void markNeedsRebuild()

Implementation

void markNeedsRebuild() {
  setState(() {
    if (_selection != editor.selection) {
      _selection = editor.selection;
      closeOverlay();
    }
  });
}