SmartBottomNav constructor

const SmartBottomNav({
  1. Key? key,
  2. required int currentIndex,
  3. required List<SmartNavItem> items,
  4. required ValueChanged<int> onTap,
  5. SmartNavStyle style = const SmartNavStyle(),
  6. bool withScreens = false,
  7. PageController? pageController,
})

Creates a customizable and animated bottom navigation bar.

Implementation

const SmartBottomNav({
  super.key,
  required this.currentIndex,
  required this.items,
  required this.onTap,
  this.style = const SmartNavStyle(),
  this.withScreens = false,
  this.pageController,
});