CustomBottomNavigationBar constructor

const CustomBottomNavigationBar({
  1. Key? key,
  2. required int currentIndex,
  3. required dynamic onTabTapped(
    1. int
    ),
  4. required List<CustomNavItem> items,
  5. required TickerProvider vsync,
  6. Color selectedColor = Colors.blue,
  7. Color unSelectedColor = Colors.grey,
  8. 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});