backbutton
-
Flutter Back ButtonFlutter/mobile 2020. 5. 13. 19:32
In the case of Android, there is a function that moves to the previous page (Activity) by pressing the Back Key or Back Button on the bar at the bottom. In Java or Kotlin, you can make the back key ignorable using the onBackPressed or onKeyDown function. Or you can double click to quit. It is said that a class called WillPopScope is used to use these functions in Flutter. WillPopScope is said to..