PersistentBottomNavBar icon indicating copy to clipboard operation
PersistentBottomNavBar copied to clipboard

WillPopScope customWidget issue

Open Joyker opened this issue 4 years ago • 5 comments

Hello, thank you for the lib. I have a problem with android back button and custom bottom nav bar.

On some pages i have WillPopScope widget, but onWillPop never calls.

Tab1 -> .. Tab2 -> .. Tab3 -> .. Tab4 -> .. Tab5 -> root_page -> second_page // here WillPopScope widget

Works ignoring WillPopScope as Navigator.of(context).pop();

handleAndroidBackButtonPress: false - works as always exit app on back button from any screen

I want to return some value for Navigator.of(context).pop(), but don`t know how to do this with you library. Hope for you help, thanks in advance

Joyker avatar Jan 02 '21 23:01 Joyker

Any update?

ronytesler avatar Feb 21 '21 02:02 ronytesler

i have the same issue

florohaltero avatar Jul 07 '21 15:07 florohaltero

Hii @Joyker,

I am still facing this issue in the latest version (version - 4.0.2), can you please explain how you tackle this issue?

Thanks

KamalVerma297 avatar Mar 21 '22 04:03 KamalVerma297

Having the Same case. I want to return some values from the particular screen which is in the stack.. But WillPopScope never trigger. Any Update on this?

HappyMakadiyaS avatar Feb 09 '23 09:02 HappyMakadiyaS

+1