FuiNavigationShell constructor

const FuiNavigationShell({
  1. Key? key,
  2. required int selectedIndex,
  3. required ValueChanged<int> onSelected,
  4. required List<FuiNavigationItem> items,
  5. FuiNavigationBreakpoints breakpoints = const FuiNavigationBreakpoints(),
  6. bool enableRail = true,
  7. bool extendedRail = false,
  8. bool autoExtendRail = false,
  9. Widget? railHeader,
  10. Widget? railFooter,
  11. Widget? defaultSecondaryPage,
  12. FuiSplitNavigationPlan splitPlan = const FuiSplitNavigationPlan(),
  13. bool useSafeArea = true,
})

Implementation

const FuiNavigationShell({
  super.key,
  required this.selectedIndex,
  required this.onSelected,
  required this.items,
  this.breakpoints = const FuiNavigationBreakpoints(),
  this.enableRail = true,
  this.extendedRail = false,
  this.autoExtendRail = false,
  this.railHeader,
  this.railFooter,
  this.defaultSecondaryPage,
  this.splitPlan = const FuiSplitNavigationPlan(),
  this.useSafeArea = true,
});