AppScaffold constructor

const AppScaffold({
  1. Key? key,
  2. required Widget body,
  3. String? backgroundImage,
  4. Widget? floatingActionButton,
  5. List<Widget>? actions,
  6. Widget? bottomNavigationBar,
  7. Widget? drawer,
  8. PreferredSizeWidget? appBar,
  9. String? title,
  10. bool centerTitle = true,
  11. Color? statusBarColor,
  12. Gradient? customGradientBackground,
  13. bool isKeyboardAware = false,
  14. EdgeInsets? padding,
  15. bool scrollableBody = false,
  16. Color? backgroundColor,
  17. double appBarElevation = 4.0,
  18. Widget? bottomSheet,
  19. ScrollPhysics? scrollPhysics,
  20. bool showDrawerIcon = true,
  21. SystemUiOverlayStyle? preferredStatusBarStyle,
  22. bool hasBottomSafeAreaPadding = true,
  23. double toolbarHeight = 20.0,
  24. Color? bottomSheetBackgroundColor,
  25. List<Widget>? actionButtons,
  26. bool scrollToTopButton = false,
  27. EdgeInsetsGeometry? margin,
  28. bool? topNavButtonBar = false,
  29. double? paddingValue = 15.0,
})

Implementation

const AppScaffold({
  Key? key,
  required this.body,
  this.backgroundImage,
  this.floatingActionButton,
  this.actions,
  this.bottomNavigationBar,
  this.drawer,
  this.appBar,
  this.title,
  this.centerTitle = true,
  this.statusBarColor,
  this.customGradientBackground,
  this.isKeyboardAware = false,
  this.padding,
  this.scrollableBody = false,
  this.backgroundColor,
  this.appBarElevation = 4.0,
  this.bottomSheet,
  this.scrollPhysics,
  this.showDrawerIcon = true,
  this.preferredStatusBarStyle,
  this.hasBottomSafeAreaPadding = true,
  this.toolbarHeight = 20.0,
  this.bottomSheetBackgroundColor,
  this.actionButtons,
  this.scrollToTopButton = false,
  this.margin,
  this.topNavButtonBar = false,
  this.paddingValue = 15.0,
}) : super(key: key);