isDialog property

bool get isDialog

Implementation

bool get isDialog {
  if (_currentRoute.value == null && kDebugMode) {
    if (kDebugMode) {
      print(
          'Please ensure that you added context.snackBarObserver to your material app observer');
    }
  }
  return _currentRoute.value != null && _currentRoute.value is DialogRoute;
}