hide method Null safety

void hide()

Hides the entire overlay including the toolbar and the handles.

Implementation

void hide() {
  if (_handles != null) {
    _handles![0].remove();
    _handles![1].remove();
    _handles = null;
  }
  if (_toolbar != null) {
    hideToolbar();
  }
}