MaterialScaffoldData.withBottomSheetScrimBuilder constructor
const
MaterialScaffoldData.withBottomSheetScrimBuilder({
- required Widget? bottomSheetScrimBuilder()?,
- Key? widgetKey,
- Color? backgroundColor,
- bool resizeToAvoidBottomInset = kDefaultResizeToAvoidBottomInset,
- Widget? body,
- PreferredSizeWidget? appBar,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- void onDrawerChanged()?,
- Widget? endDrawer,
- void onEndDrawerChanged()?,
- Widget? bottomSheet,
- bool primary = kPrimary,
- DragStartBehavior drawerDragStartBehavior = kDrawerDragStartBehavior,
- bool extendBody = kExtendBody,
- bool drawerBarrierDismissible = kDrawerBarrierDismissible,
- bool extendBodyBehindAppBar = kExtendBodyBehindAppBar,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = kDrawerEnableOpenDragGesture,
- bool endDrawerEnableOpenDragGesture = kEndDrawerEnableOpenDragGesture,
- String? restorationId,
Implementation
const MaterialScaffoldData.withBottomSheetScrimBuilder({
required this.bottomSheetScrimBuilder,
super.widgetKey,
super.backgroundColor,
super.resizeToAvoidBottomInset,
super.body,
this.appBar,
this.floatingActionButton,
this.floatingActionButtonLocation,
this.floatingActionButtonAnimator,
this.persistentFooterButtons,
this.persistentFooterAlignment = kDefaultPersistentFooterAlignment,
this.persistentFooterDecoration,
this.drawer,
this.onDrawerChanged,
this.endDrawer,
this.onEndDrawerChanged,
this.bottomSheet,
this.primary = kPrimary,
this.drawerDragStartBehavior = kDrawerDragStartBehavior,
this.extendBody = kExtendBody,
this.drawerBarrierDismissible = kDrawerBarrierDismissible,
this.extendBodyBehindAppBar = kExtendBodyBehindAppBar,
this.drawerScrimColor,
this.drawerEdgeDragWidth,
this.drawerEnableOpenDragGesture = kDrawerEnableOpenDragGesture,
this.endDrawerEnableOpenDragGesture = kEndDrawerEnableOpenDragGesture,
this.restorationId,
});