flutter bottomnavtigation bar hasnotch code example

Example 1: bottomNavigationBar without label flutter

//Just add this to your BottomNavigationBar

showSelectedLabels: false,
showUnselectedLabels: false,

Example 2: bottomNavigationBar without label flutter

bottomNavigationBar: BottomNavigationBar(
  showSelectedLabels: false,   // <-- HERE
  showUnselectedLabels: false, // <-- AND HERE
  items: [
    BottomNavigationBarItem(
      icon: Icon(Icons.person),
      title: Text('Personal')
    ),
    BottomNavigationBarItem(
      icon: Icon(Icons.notifications),
      title: Text('Notifications'),
    ),
  ],
)

Tags:

Misc Example