Pressing back button takes to endless loading screen
VarunArora14 opened this issue · comments
The app starts with home page of loading screen and then navigates to location_screen.dart file. however, if you press the back button, it shows the loading screen which is endless and may make the user think that the app has crashed. One option is to put loading screen inside a widget rather than dart file or having double press back button to close the app but as a beginner, I do not know how to do it. i looked on stackoverflow but did not find any good answer.