Search code snippets, questions, articles...

Hide title from BottomNavigationBar in Flutter

In this post, I want to discuss how you can hide the title from BottomNavigationBar in Flutter. This is useful if you want to make your bottom navigation bar have a custom look without having the title of the page.
    showSelectedLabels: false,
    showUnselectedLabels: false,
    items: <BottomNavigationBarItem> []
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool

Sometimes it is required to hide title or labels from BottomNavigationBar in Flutter. You can use showSelectedLabels: false and showUnselectedLabels: false properties for that. It will hide the label/title which you have passed in BottomNavigationBarItem title widget.

Was this helpful?