My rout is this. leading/login/home. It is just testing so I use push() from leading to login. And I use pushReplacementNamed() from login to home.
Question 1: If I use go() will it leave stack of route in navigation stack.
Question 2: I want to achieve when after login, there is no way back to login from home page.
context.pushReplacementNamed('home_screen');
// this is my current code and it doesn't work. Showing back arrow.