hide method

void hide()

Implementation

void hide() {
  overlayEntry?.remove();
  overlayEntry = null;
  widget.onHide?.call();
}