SmoothScaffold constructor

const SmoothScaffold({
  1. Color? statusBarBackgroundColor,
  2. bool contentBehindStatusBar = false,
  3. bool spaceBehindStatusBar = false,
  4. bool fixKeyboard = false,
  5. bool changeStatusBarBrightness = true,
  6. bool? resizeToAvoidBottomInset,
  7. Key? key,
  8. PreferredSizeWidget? appBar,
  9. Widget? body,
  10. Widget? floatingActionButton,
  11. FloatingActionButtonLocation? floatingActionButtonLocation,
  12. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  13. List<Widget>? persistentFooterButtons,
  14. AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd,
  15. Widget? drawer,
  16. DrawerCallback? onDrawerChanged,
  17. Widget? endDrawer,
  18. DrawerCallback? onEndDrawerChanged,
  19. Widget? bottomNavigationBar,
  20. Widget? bottomSheet,
  21. Color? backgroundColor,
  22. bool primary = true,
  23. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  24. bool extendBody = false,
  25. bool extendBodyBehindAppBar = false,
  26. Color? drawerScrimColor,
  27. double? drawerEdgeDragWidth,
  28. bool drawerEnableOpenDragGesture = true,
  29. bool endDrawerEnableOpenDragGesture = true,
  30. 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,
     );