isPopupOnTop method
Implementation
bool isPopupOnTop() {
if (_topRoute != null) {
return (_topRoute is DialogRoute || _topRoute is ModalBottomSheetRoute) &&
_topRoute!.isActive &&
_topRoute!.isCurrent;
}
return false;
}
bool isPopupOnTop() {
if (_topRoute != null) {
return (_topRoute is DialogRoute || _topRoute is ModalBottomSheetRoute) &&
_topRoute!.isActive &&
_topRoute!.isCurrent;
}
return false;
}