SmartBottomNav constructor
const
SmartBottomNav({
- Key? key,
- required int currentIndex,
- required List<
SmartNavItem> items, - required ValueChanged<
int> onTap, - SmartNavStyle style = const SmartNavStyle(),
- bool withScreens = false,
- 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,
});