CodeNestNavigationBar constructor

const CodeNestNavigationBar({
  1. Key? key,
  2. required List<CodeNestNavigationBarItem> items,
  3. required int selectedIndex,
  4. required ValueChanged<int> onDestinationSelected,
  5. Color? selectedIconColor,
  6. Color? unselectedIconColor,
  7. TextStyle? selectedLabelTextStyle,
  8. TextStyle? unselectedLabelTextStyle,
  9. Color? backgroundColor,
  10. double? elevation,
  11. NavigationDestinationLabelBehavior? labelBehavior,
})

Implementation

const CodeNestNavigationBar({
  super.key,
  required this.items,
  required this.selectedIndex,
  required this.onDestinationSelected,
  this.selectedIconColor,
  this.unselectedIconColor,
  this.selectedLabelTextStyle,
  this.unselectedLabelTextStyle,
  this.backgroundColor,
  this.elevation,
  this.labelBehavior,
});