How to use a BottomAppBar for navigation in flutter

后端 未结 3 1131
一整个雨季
一整个雨季 2021-02-01 09:13

Im fairly new to flutter, I have created a nice BottomAppBar with a docked FAB however i also want to use this AppBar for page navigation. I\'ve tried it with a BottomNavigatio

3条回答
  •  别那么骄傲
    2021-02-01 09:35

    You can use a switch case for your body using the same scaffold - Like in tabcontroller or radiobutton. Just update the body when bottomAppBar icon is pressed. Check out this link for better understanding. :)

提交回复
热议问题