hideToolbar method

void hideToolbar()

Hides the toolbar part of the overlay.

To hide the whole overlay, see hide.

Implementation

void hideToolbar() {
  _contextMenuController.remove();
  _spellCheckToolbarController.remove();
  if (_toolbar == null) {
    return;
  }
  _toolbar?.remove();
  _toolbar?.dispose();
  _toolbar = null;
}