How to know when user has tapped the back button or back navigation arrow in Flutter
A common Android UI pattern for edit screens is to ask the user to confirm that they want to discard their changes when they tap the back button or back navigation arrow. So, how do you catch this use...
Read on cogitas.net