overlayContext property
BuildContext?
get
overlayContext
give access to current Overlay Context
Implementation
BuildContext? get overlayContext {
BuildContext? overlay;
key.currentState?.overlay?.context.visitChildElements((Element element) {
overlay = element;
});
return overlay;
}