SOLVED: Using CuperinoTabScaffold() with CupertinoTabBar() solved both problems.
Helllo, I have a question about BottomNavigationBar.
Lets say that I have a BottomNavigationBar with 5 tabs looking like this:
Home - Map - Messages - Friends - Settings
And routes:
**Home ->
Map ->
Messages -> message_screen
Friends -> friend_list -> deletefriend_screen
Settings -> login_screen**
The problem is that, i have no idea how to make the BottomNavigationBar not disappear when i push let say friend_list when i am on friends screen.
The second question is, that i want to make Home,Map,Messages,Friends,Settings screens persistent, so when i switch tabs from Home to Map or from **Map ->Friends-> friend_list -> back to Map**
, map shouldnt reload. But when i go **Friends -> friend_list -> deletefriend_screen _> Settings -> Friends -> friend_list**
friend_list should reload. Only the first screens, the tabs should be persistent.
Thanks for all help :_)