BottomNavigationBar(
showSelectedLabels: false,
showUnselectedLabels: false,
items: <BottomNavigationBarItem> []
);
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.
0 Comments