FuiNavigationShell constructor
const
FuiNavigationShell({
- Key? key,
- required int selectedIndex,
- required ValueChanged<
int> onSelected, - required List<
FuiNavigationItem> items, - FuiNavigationBreakpoints breakpoints = const FuiNavigationBreakpoints(),
- bool enableRail = true,
- bool extendedRail = false,
- bool autoExtendRail = false,
- Widget? railHeader,
- Widget? defaultSecondaryPage,
- FuiSplitNavigationPlan splitPlan = const FuiSplitNavigationPlan(),
- 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,
});