Bottom Tabs still visible when pushing new page ?

Nunes Nelson
Mar 3, 2021

--

Today i face a new challenge, how to push a new page while still seeing the bottom navigation tabs ?

Yes, cause you may already know but pushing a new page on flutter, hide the bottom tabs cause they are sharing the same Navigator.

The final result

On the left, you have a tab page (with a listview).

On the right, you have a detail page (Back is possible). And the bottom tab bar is still visible.

How to

First Wrap you listview widget, by a new Navigator

And when pushing new route, use :

And, thats all :)

I found others solutions on blog posts, but with a lot of boilerplate..i prefer this one who is simple..

--

--