isDialogShowing property

bool get isDialogShowing

Implementation

bool get isDialogShowing {
  final currentRoute = ModalRoute.of(this);
  return currentRoute?.isCurrent == true && currentRoute?.canPop == true;
}