I'm looking for a way to render a Navigation Drawer locally within a screen inside the Persistent Bottom Navigation Bar, but yet have the drawer render over the Navigation Bar.
This image shows the issue I'm having:
Things I've tried:
Putting the drawer above the Navigation Bar in the widget tree.
This would cause the drawer to remain persistent throughout every screen in the navigation bar and I want the drawer to be local to the Library screen.
Using the Provider package to listen for changes and hide the bottom navigation bar when the drawer is opened
This could work, except that almost my entire app lives under the bottom navigation bar in the widget tree as each of its screens and rebuilding the bottom navigation bar every time the drawer is opened, will mean rebuilding the entire library page and all it's child widgets every time which can add up to be very expensive in terms of performance (unless I'm missing something in my implementation of this technique).
Is there any way to do this with respect to the current implementation of the bottom nav bar?
I'm looking for a way to render a Navigation Drawer locally within a screen inside the Persistent Bottom Navigation Bar, but yet have the drawer render over the Navigation Bar.
This image shows the issue I'm having:
Things I've tried:
Putting the drawer above the Navigation Bar in the widget tree.
Using the Provider package to listen for changes and hide the bottom navigation bar when the drawer is opened
Is there any way to do this with respect to the current implementation of the bottom nav bar?