NiceBottomNavBar constructor

const NiceBottomNavBar({
  1. Key? key,
  2. required List<NiceBottomNavItem> items,
  3. required int selectedIndex,
  4. ValueChanged<int>? onTap,
  5. Color? backgroundColor,
  6. Color? selectedItemColor,
  7. Color? unselectedItemColor,
  8. bool showLabels = true,
  9. double elevation = 8,
})

Implementation

const NiceBottomNavBar({
  super.key,
  required this.items,
  required this.selectedIndex,
  this.onTap,
  this.backgroundColor,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.showLabels = true,
  this.elevation = 8,
});