hideOverlay method

dynamic hideOverlay()
inherited

Hide the overlay widget keeped by this class (it's like a single instance) It can be used many times, without an overlayId

Implementation

hideOverlay() {
  if (_overlayEntry != null) {
    _overlayEntry!.remove();
    _overlayEntry = null;
  }
}