Flutter Tutorial - WillPopScope & BackButton - Navigate Back Android

preview_player
Показать описание
Show a dialog if the user forgot to save their settings in their Flutter app.


Resources:

--- JOIN THE CREW ---

SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS

*********

SOCIAL MEDIA: Follow Me :-)

PLAYLISTS

If you find this video useful, LIKE & SHARE this video to help other people who also learn Flutter :)

CREDITS

#Flutter #Tutorial #JohannesMilke

LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
Рекомендации по теме
Комментарии
Автор

Thanks again, I want to use the WillPopScope as follows, I have a Textfield if the user press the back button at the bottom of an Android phone I want the keyboard to disappear and set the unfocus on the textfield, how would you say to do this, Pierre

pierremarais
Автор

In my case, onWillPop: is expected boolean, which is ok as per the video. But showDialog is returning Future<dynamic>, any suggestions

refayetshanto
Автор

hi.. I want to disable to back button for whole application.. how to do in Main.dart file ?

sahirkumar
Автор

on back press conform yes for exit app but it go back page so how to this?

flutteringonvsc
Автор

Back button alert isn't showing on iOS
Is there some different code for iOS?

aehsun_hafeez
welcome to shbcf.ru