Flutter: Keep BottomNavigationBar When Push to New Screen with Navigator
问题 In iOS, we have a UITabBarController which stays permanently at the bottom of the screen when we push to a new ViewController. In Flutter, we have a bottomNavigationBar of a Scaffold. However, unlike iOS, when we Navigator.push to a new screen, this bottomNavigationBar disappears. In my app, I want to fulfil this requirement: Home screen has a bottomNavigationBar with 2 items ( a & b ) presenting screen A & B . By default, screen A is displayed. Inside screen A , there is a button. Tap that