It could be how you called that page. If you used Navigator.pushReplacement, the app will close if there are no more screens in the stack. However, if you use Navigator.push, you add a screen to the stack, which allows the "Back" button to work.