hideOverlay function

Future<void> hideOverlay()

Implementation

Future<void> hideOverlay() async {
  await _overlayAnimationController?.reverse(from: 1);
  _editorController?.isShowingOverlay.value = false;
  _overlayEntry?.remove();
  _overlayEntry = null;
}