overlayEntry property
current overlayEntry to remove the overlay, we can do overlayEntry.remove() which will remove its self from OverlayState The content of the overlayEntry is generated
Implementation
OverlayEntry? overlayEntry;
current overlayEntry to remove the overlay, we can do overlayEntry.remove() which will remove its self from OverlayState The content of the overlayEntry is generated
OverlayEntry? overlayEntry;