The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
Non-web question. Is there an example or any insight into how to use Navigator.pushReplacement (or any other method) to replace a current view on the stack? (I don't want me user to push the AppBar back button and go back.) Navigator.pushReplacement requires a Route object.
Non-web question. Is there an example or any insight into how to use Navigator.pushReplacement (or any other method) to replace a current view on the stack? (I don't want me user to push the AppBar back button and go back.) Navigator.pushReplacement requires a Route object.
Thank you, A new Flutter user