ModulaBottomNavigationBar constructor

const ModulaBottomNavigationBar({
  1. required List<ModulaBottomNavItem> items,
  2. Key? key,
  3. int currentIndex = 0,
  4. ValueChanged<int>? onTap,
  5. Color? selectedColor,
  6. Color? unselectedColor,
  7. Color? backgroundColor,
  8. double elevation = 8,
  9. ModulaBottomNavType type = ModulaBottomNavType.fixed,
  10. bool showLabels = true,
})

Implementation

const ModulaBottomNavigationBar({
  required this.items,
  super.key,
  this.currentIndex = 0,
  this.onTap,
  this.selectedColor,
  this.unselectedColor,
  this.backgroundColor,
  this.elevation = 8,
  this.type = ModulaBottomNavType.fixed,
  this.showLabels = true,
});