Closed jiqimao3528 closed 1 month ago
This is a dup of #149, and I provided a workaround in there.
You configured handleAndroidBackButtonPress: false,
which prevents the package from handling back button presses. In combination with the pushReplacementNamed
at the top, this indeed causes the app to minimize as intended.
Version
5.2.3
Flutter Doctor Output
What platforms are you seeing the problem on?
Android
What happened?
Hi, I simulated the code
The code is in the example folder at this address: https://github.com/jb3rndt/PersistentBottomNavBarV2
you need to replace the main.dart code in your example with the following code to reproduce the bug.
Thanks.
Steps to reproduce
Refer to the video, thank you
https://github.com/jb3rndt/PersistentBottomNavBarV2/assets/6687943/0ac1482d-cf6b-40e8-ad01-0c60372628c6
https://github.com/jb3rndt/PersistentBottomNavBarV2/assets/6687943/0003a05a-9e0c-4eb2-920b-91eb3461545f
Code to reproduce the problem
Relevant log output
No response
Screenshots
No response