You just need to use below syntax when open another page
Navigator.pushReplacementNamed(context, "/another_page");
Related Questions :
- remove back arrow in flutter
- remove back button
Let's Flutter
You just need to use below syntax when open another page
Navigator.pushReplacementNamed(context, "/another_page");
Related Questions :