Is there a way to add a notch above the center icon in BottomNavigationBar
? Something like in this image:
I currently have something like this generating the navigation:
return BottomNavigationBar(
type: BottomNavigationBarType.fixed,
fixedColor: Color(0xff2398C3),
showSelectedLabels: false,
showUnselectedLabels: false,
currentIndex: snapshot.data.index,
onTap: _bottomNavBarBloc.pickItem,
items: [
BottomNavigationBarItem(
title: Text('Search'),
icon: Icon(Icons.search),
),
BottomNavigationBarItem(
title: Text('Browse'),
icon: Icon(Icons.view_list),
),
BottomNavigationBarItem(
title: Text('Icon'),
icon: Container(
child: FlutterLogo(
size: 35.0,
),
),
),
BottomNavigationBarItem(
title: Text('Favorites'),
icon: Icon(Icons.bookmark),
),
BottomNavigationBarItem(
title: Text('Settings'),
icon: Icon(Icons.settings),
),
],
);
You should be use below lib. convex_bottom_bar