flutter_floating_bottom_navigation_bar icon indicating copy to clipboard operation
flutter_floating_bottom_navigation_bar copied to clipboard

how to reduce the height of the tabbar

Open rafaelovandov opened this issue 3 years ago • 1 comments

rafaelovandov avatar Jun 17 '22 12:06 rafaelovandov

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'), ], ),

sarvesh2847 avatar Mar 12 '24 03:03 sarvesh2847