Open BeingCode opened 1 year ago
Same issue.
handleAndroidBackButtonPress: true,
onWillPop: (context) => Future.value(true),
also with
handleAndroidBackButtonPress: false,
onWillPop: (context) => Future.value(true),
Error : The following assertion was thrown building BaseLayout(dirty, dependencies: [MediaQuery, _LocalizationsScope-[GlobalKey#5117e]], state: _BaseLayoutState#dfd0f): If you declare the onWillPop function, you will have to handle the back function functionality yourself as your onWillPop function will override the default function. 'package:persistent_bottom_nav_bar/persistent_tab_view.widget.dart': Failed assertion: line 49 pos 16: 'handleAndroidBackButtonPress && onWillPop == null'
I am also facing this issue. Anyone find solution of this error?
If you declare the onWillPop function, you will have to handle the back function functionality yourself as your onWillPop function will override the default function.
I'm not facing the issue in this version of this package https://pub.dev/packages/persistent_bottom_nav_bar_v2 Hope this will help you guys.
is anyone found solution about this issue , kindly share here
still facing the issue with latest version persistent_bottom_nav_bar: ^5.0.2
Same issue arise with persistent_bottom_nav_bar 5.0.2. Anyone find solution of this error?
Same issue arise with persistent_bottom_nav_bar 5.0.2. Anyone find solution of this error?
handleAndroidBackButtonPress: true,
By toggling handleAndroidBackButtonPress: true, and handling WillPopScope solved my problem
Hey, did you manage to fix this? Having same issue.