nonFloatingBottomBar method
Implementation
CupertinoTabBar nonFloatingBottomBar() {
return CupertinoTabBar(
border: const Border(
bottom: BorderSide.none,
left: BorderSide.none,
right: BorderSide.none,
top: BorderSide.none,
),
currentIndex: _selectedIndex,
items: getBottomNavigationBarItemIconWithBadge(
showTabLabels: widget.showTabLabelsForNonFloating!),
onTap: (index) {
_onItemTap(index);
},
activeColor: widget.activeColor ?? Theme.of(context).primaryColor,
inactiveColor: widget.inactiveColor ?? Colors.black,
backgroundColor: widget.backgroundColor ?? Colors.white,
);
}