CodeNestNavigationRail constructor

const CodeNestNavigationRail({
  1. Key? key,
  2. required List<CodeNestRailItem> items,
  3. required int selectedIndex,
  4. required ValueChanged<int> onDestinationSelected,
  5. Color? selectedIconColor,
  6. Color? unselectedIconColor,
  7. TextStyle? selectedLabelTextStyle,
  8. TextStyle? unselectedLabelTextStyle,
})

Implementation

const CodeNestNavigationRail({
  super.key,
  required this.items,
  required this.selectedIndex,
  required this.onDestinationSelected,
  this.selectedIconColor,
  this.unselectedIconColor,
  this.selectedLabelTextStyle,
  this.unselectedLabelTextStyle,
});