Just a simple method. Wrap Scaffold with WillPopScope widget . Show activity on this post. In this case when user will tap system back button, onWillPop callback will decide should the screen be popped or not.
Read moreJust a simple method. Wrap Scaffold with WillPopScope widget . Show activity on this post. In this case when user will tap system back button, onWillPop callback will decide should the screen be popped or not.
Read more“how to handle back button in webview android” Code Answer
Read moreWhatever answers related to “flutter go back to previous screen”
Read more