AdaptiveNavigationScaffold constructor
const
AdaptiveNavigationScaffold({
- Key? key,
- PreferredSizeWidget? appBar,
- required Widget body,
- FloatingActionButton? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? endDrawer,
- Widget? bottomSheet,
- Color? backgroundColor,
- bool? resizeToAvoidBottomInset,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- required int selectedIndex,
- required List<
AdaptiveScaffoldDestination> destinations, - ValueChanged<
int> ? onDestinationSelected, - Widget? drawerHeader,
- bool fabInRail = true,
- bool includeBaseDestinationsInMenu = true,
Implementation
const AdaptiveNavigationScaffold({
super.key,
this.appBar,
required this.body,
this.floatingActionButton,
this.floatingActionButtonLocation,
this.floatingActionButtonAnimator,
this.persistentFooterButtons,
this.endDrawer,
this.bottomSheet,
this.backgroundColor,
this.resizeToAvoidBottomInset,
this.primary = true,
this.drawerDragStartBehavior = DragStartBehavior.start,
this.extendBody = false,
this.extendBodyBehindAppBar = false,
this.drawerScrimColor,
this.drawerEdgeDragWidth,
this.drawerEnableOpenDragGesture = true,
this.endDrawerEnableOpenDragGesture = true,
required this.selectedIndex,
required this.destinations,
this.onDestinationSelected,
this.navigationTypeResolver,
this.drawerHeader,
this.drawerFooter,
this.fabInRail = true,
this.includeBaseDestinationsInMenu = true,
this.bottomNavigationOverflow = 5,
});