I was trying to use if (info.ifRouteChanged(context)) return false; to avoid running the interceptor while an alert dialog is being displayed and it's not working (Always returning false & opening a new AlertDialog). I'm using unnamed routes / Navigator 2.0.
I was trying to use
if (info.ifRouteChanged(context)) return false;
to avoid running the interceptor while an alert dialog is being displayed and it's not working (Always returning false & opening a new AlertDialog). I'm using unnamed routes / Navigator 2.0.