flutter bottom bar button code example
Example: change bottom navigation bar from button flutter
Having such functionality can decrease your thinking capabilities. If you still
want to here is the link you can check out.
https://medium.com/@theboringdeveloper/common-bottom-navigation-bar-flutter-e3693305d2d