removeOverlay method

dynamic removeOverlay()

Implementation

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

  _overlayEntry = null;
}