closeOverlay method

dynamic closeOverlay()

Implementation

closeOverlay() {
  if (_overlayEntry.value == null) return;
  _haveOverlay = false;
  _overlayEntry.value!.remove();
  _overlayEntry.value = null;
}