I am having the previous issue again. Any ideas on how to fix this?
"Has anyone else had problems with this code since upgrading to Flutter 2.2+? Suddenly after updating to null safety, my URL is not updating correctly, it’s always 1 page behind. For example, after setSplashFinished, the url still reads /splash, even though it is showing the Login screen. Then if I navigate to a new screen from Login, the URL shows /login instead of the current screen.
I think it’s because the routerDelegate currentConfiguration value isn’t updating correctly, but I cannot seem to figure it out."