UIProBottomNav constructor
const
UIProBottomNav({
- Key? key,
- required List<
UIProBottomNavItem> items, - required int currentIndex,
- required ValueChanged<
int> onChanged, - Color? backgroundColor,
- Color? selectedColor,
- Color? unselectedColor,
- double? elevation,
- double? iconSize,
- bool? showLabels,
- TextStyle? labelStyle,
- UIProBottomNavType type = UIProBottomNavType.standard,
- double? indicatorHeight,
- Color? indicatorColor,
- double indicatorWidth = 4,
- bool enableHapticFeedback = true,
Creates a theme-aware bottom navigation bar.
Implementation
const UIProBottomNav({
super.key,
required this.items,
required this.currentIndex,
required this.onChanged,
this.backgroundColor,
this.selectedColor,
this.unselectedColor,
this.elevation,
this.iconSize,
this.showLabels,
this.labelStyle,
this.type = UIProBottomNavType.standard,
this.indicatorHeight,
this.indicatorColor,
this.indicatorWidth = 4,
this.enableHapticFeedback = true,
});