Keeping a separate navigation stack for each tab: Link
This post assumes you have configured the project by following those links in order.
It was written for Flutter 3.24.
So far, we have configured the bottom navigation bar to keep working within additional pages.
As the final step, let's enable widgets inside those pages to switch tabs too.
This post is quite simple: We will make it possible to move from Notification Screen to Search Screen.
In this post, we configured navigation while preserving a separate stack for each bottom-navigation tab.
You can now enable tab switching from individual pages even when the bottom navigation bar is present.