PersistentBottomNavBar
PersistentBottomNavBar copied to clipboard
PersistentTabView.custom should also take onItemSelected as parameter
Hi,
I use PersistentTabView.custom because I have my own logic to build the navigation bar widget.
We are setting handleAndroidBackButtonPress to true and we expect, whenever the user clicks on back, the navigation bar widget refreshes.
Alike PersistentTabView constructor, we want PersistentTabView.custom to also accept "ValueChanged
This would allow us to setState within onItemSelected that would get executed when the user clicks on back button.
The change is very simple.
Thanks.
Best Regards.
@BilalShahid13 does this make sense to you?
Thanks.
@BilalShahid13 if I send a pull request, will you be able to look at it?
Thanks.
Facing the same issue, @BilalShahid13 Can it be implemented ?
Hello @Rohithgilla12 i've created a PR that fixes this issue.... You can consider it.. #255 Thanks.