hide method

void hide()

Hides the entire overlay including the toolbar and the handles.

Implementation

void hide() {
  _magnifierController.hide();
  if (_handles != null) {
    _handles!.start.remove();
    _handles!.start.dispose();
    _handles!.end.remove();
    _handles!.end.dispose();
    _handles = null;
  }
  if (_toolbar != null || _contextMenuController.isShown || _spellCheckToolbarController.isShown) {
    hideToolbar();
  }
}