return false;
}
if (route._hasScopedWillPopCallback) {
if (route.hasScopedWillPopCallback) {
public override bool canTransitionFrom(TransitionRoute previousRoute) {
return previousRoute is PageRoute;
public bool _hasScopedWillPopCallback => this.hasScopedWillPopCallback;
public override AnimationController createAnimationController() {
var controller = base.createAnimationController();
this._willPopCallbacks.Remove(callback);
protected bool hasScopedWillPopCallback {
protected internal bool hasScopedWillPopCallback {
get { return this._willPopCallbacks.isNotEmpty(); }