Flutter: Handle Back Button Pressed | WillPopScope Widget

Flutter: Handle Back Button Pressed | WillPopScope Widget

Codepur

5 лет назад

60,581 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mohammed Solyman
Mohammed Solyman - 23.08.2023 10:49

thank you very much

Ответить
Ashok Chandra
Ashok Chandra - 25.05.2023 13:23

Perfect ❤❤

Ответить
Swapnil Codes
Swapnil Codes - 03.08.2022 20:01

Wonderful !😍

Ответить
Hossain Abeer
Hossain Abeer - 25.08.2021 11:12

Just what a noob needs, an explanatory tutorial not the music filled one. Keep up the good work

Ответить
Shahadat Hossain
Shahadat Hossain - 02.08.2021 23:50

I want that feature in my Webview flutter. Already using WillPopScope for backward and forward feature (true false) bt cant do the exit feature. any help plz?

Ответить
Kamal Kk Velly
Kamal Kk Velly - 29.06.2021 19:59

thanks sir g i love you in future if i will earn or do something in programming ... i wuold like to share with ... great thanks again

Ответить
shweta lukka
shweta lukka - 25.06.2021 09:10

Hello sir i referred ur 2 hrs tutorial fully its very much simple and just great. May i get help for the modules of my app which i m developing?

Ответить
sanju talks
sanju talks - 03.05.2021 13:38

hi sir i want to press back arrow and send some data at the same time how will i do i use getx for statemamagnent i use for local storage get_storage i
i want to refresh my previous screen when i back press icon on top left
what will i do

Ответить
Dinuka Kulathunga
Dinuka Kulathunga - 26.02.2021 11:51

Thank you so much..

Ответить
Ahmed Ashraf
Ahmed Ashraf - 21.02.2021 00:50

Really thanks

Ответить
Rising Rocks Farm
Rising Rocks Farm - 09.01.2021 19:31

Massive thumbs up. Thanks

Ответить
Pistom geral
Pistom geral - 21.11.2020 21:17

Thank you

Ответить
孙志成
孙志成 - 18.08.2020 12:42

Thanks!

Ответить
Teddy T
Teddy T - 08.08.2020 09:00

Thanks bro

Ответить
Musa Eşin
Musa Eşin - 24.06.2020 21:21

Theme?

Ответить
Ricky Curioso
Ricky Curioso - 18.04.2020 17:45

less talk, do more, go to the point...by the way, does not work

Ответить
Chethan Poojary
Chethan Poojary - 14.03.2020 12:47

Subscribed...

Ответить
Pablius Cardoso
Pablius Cardoso - 22.02.2020 06:45

Thanks for the vídeo

Ответить
Michael Tolsma
Michael Tolsma - 16.01.2020 15:10

The function only works once. When you press "Yes" then go back in the app and do it again, the alert doesn't pop up.

Ответить
jaeseon
jaeseon - 29.11.2019 07:12

Thanks, MTECHVIRAL

Ответить
Bharath
Bharath - 09.08.2019 10:30

i can't log in my live API app after using this

Ответить
Mockingbird
Mockingbird - 10.06.2019 12:08

Thank You SO Much for this Video.

Ответить
Isaac Barros
Isaac Barros - 25.04.2019 17:23

Thanks!

Ответить
Let's Do
Let's Do - 08.04.2019 16:37

how to use willpopscope as a child of another willpopscope widget?

Ответить
Rahul Kumar
Rahul Kumar - 24.03.2019 14:45

Sir can you explain how to use this code with WebViewScaffold ? instead of scaffold

Ответить
Anvesh2013
Anvesh2013 - 25.02.2019 06:43

Always, always, always, always
 post it on github

Ответить
Krishnakumar Ramachandran
Krishnakumar Ramachandran - 11.02.2019 06:59

WillPopScope can use only inside Stateful widget?

Ответить
P D
P D - 24.12.2018 10:11

Thanks for such nice tutorial

Ответить
Dmitry Gordin
Dmitry Gordin - 23.10.2018 09:40

usually it's done by double tap on back button

Ответить
Kishore nani
Kishore nani - 09.09.2018 10:38

When I was using willpopscope again it was going to main page pls could you help to solve the issue

Ответить
Latte Lover
Latte Lover - 05.08.2018 17:34

Nice, The OnWillPop event works good, it's successfully prevent app from hidden. Unfortunately the dialog does not show up. Is this bug or expected behaviours since i'm using WillPopScope on home property of MaterialApp.
return MaterialApp(
home: WillPopScope(
onWillPop: _onBackPressed,
child: Scaffold( ....

Ответить
Milton Cesar Oviedo Tamayo
Milton Cesar Oviedo Tamayo - 02.08.2018 19:22

very thanks!!

Ответить
ASEEM SRIVASTAVA
ASEEM SRIVASTAVA - 21.07.2018 19:58

How to close my app on back press?

Ответить
Joshua Padilla
Joshua Padilla - 13.07.2018 03:07

What theme are you using? I really like the colors.

Ответить
Zmoke Vlogs
Zmoke Vlogs - 12.07.2018 07:17

If u can explain the class implementation of the will pop scope that'll be great

Ответить
Nobody
Nobody - 12.07.2018 01:38

Wow this videos are awesome

Ответить
Jagannath Sahoo
Jagannath Sahoo - 11.07.2018 21:22

Please make a tutorial on background process in flutter

Ответить
Vince Ramces Oliveros
Vince Ramces Oliveros - 11.07.2018 19:22

Nice and simple tutorial.

Ответить