right7ctrl/flutter_floating_bottom_navigation_bar

how to reduce the height of the tabbar

Opened this issue · 1 comments

how to reduce the height of the tabbar

I think you are facing the issue of render overflow by 24 pixels, just add margin:EdgeInsets.all(0), padding:EdgeInsets.all(0).

bottomNavigationBar: FloatingNavbar( margin: EdgeInsets.all(0), padding: EdgeInsets.all(0), onTap: (int val) { //returns tab id which is user tapped }, currentIndex: 0, items: [ FloatingNavbarItem(icon: Icons.home, title: 'Home'), FloatingNavbarItem(icon: Icons.explore, title: 'Explore'), FloatingNavbarItem(icon: Icons.chat_bubble_outline, title: 'Chats'), FloatingNavbarItem(icon: Icons.settings, title: 'Settings'), ], ),