isPopGestureEnabled<T> static method
Implementation
static bool isPopGestureEnabled<T>(PageRoute<T> route) {
if (route.isFirst) return false;
if (route.willHandlePopInternally) return false;
// ignore: invalid_use_of_protected_member
if (route.hasScopedWillPopCallback) return false;
if (route.fullscreenDialog) return false;
if (route.animation!.status != AnimationStatus.completed) return false;
if (route.secondaryAnimation!.status != AnimationStatus.dismissed)
return false;
if (isPopGestureInProgress(route)) return false;
return true;
}