CustomBottomNavigationBar constructor
const
CustomBottomNavigationBar({
- Key? key,
- required int currentIndex,
- required dynamic onTabTapped(),
- required List<
CustomNavItem> items, - required TickerProvider vsync,
- Color selectedColor = Colors.blue,
- Color unSelectedColor = Colors.grey,
- AnimationType animationType = AnimationType.slide,
Implementation
const CustomBottomNavigationBar(
{super.key,
required this.currentIndex,
required this.onTabTapped,
required this.items,
required this.vsync,
this.selectedColor = Colors.blue,
this.unSelectedColor = Colors.grey,
this.animationType = AnimationType.slide});