SmoothScaffold constructor
const
SmoothScaffold({ - Color? statusBarBackgroundColor,
- bool contentBehindStatusBar = false,
- bool spaceBehindStatusBar = false,
- bool fixKeyboard = false,
- bool changeStatusBarBrightness = true,
- bool? resizeToAvoidBottomInset,
- Key? key,
- PreferredSizeWidget? appBar,
- Widget? body,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- Widget? bottomNavigationBar,
- Widget? bottomSheet,
- Color? backgroundColor,
- bool primary = true,
- DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool drawerEnableOpenDragGesture = true,
- bool endDrawerEnableOpenDragGesture = true,
- String? restorationId,
})
Implementation
const SmoothScaffold({
this.statusBarBackgroundColor,
this.contentBehindStatusBar = false,
this.spaceBehindStatusBar = false,
this.fixKeyboard = false,
this.changeStatusBarBrightness = true,
bool? resizeToAvoidBottomInset,
super.key,
super.appBar,
super.body,
super.floatingActionButton,
super.floatingActionButtonLocation,
super.floatingActionButtonAnimator,
super.persistentFooterButtons,
super.persistentFooterAlignment,
super.drawer,
super.onDrawerChanged,
super.endDrawer,
super.onEndDrawerChanged,
super.bottomNavigationBar,
super.bottomSheet,
super.backgroundColor,
super.primary = true,
super.drawerDragStartBehavior = DragStartBehavior.start,
super.extendBody = false,
super.extendBodyBehindAppBar = false,
super.drawerScrimColor,
super.drawerEdgeDragWidth,
super.drawerEnableOpenDragGesture = true,
super.endDrawerEnableOpenDragGesture = true,
super.restorationId,
}) : super(
resizeToAvoidBottomInset: fixKeyboard
? false
: resizeToAvoidBottomInset,
);