KScaffold<T> constructor

const KScaffold<T>({
  1. Key? key,
  2. bool extendBodyBehindAppBar = false,
  3. EdgeInsets appBarPadding(
    1. EdgeInsets apply
    )?,
  4. bool extendBody = false,
  5. Color? backgroundColor,
  6. bool? resizeToAvoidBottomInset,
  7. Widget? appBar,
  8. bool applyDefaultAppBar = false,
  9. Widget? floatingActionButton,
  10. Widget? bottomNavigationBar,
  11. SystemUiOverlayStyle? systemUiOverlayStyle,
  12. bool canPop = true,
  13. PopInvokedWithResultCallback? onPopInvokedWithResult,
  14. EdgeInsets? viewPadding,
  15. required String title,
  16. String? subtitle,
  17. Widget? titleWidget,
  18. Widget? trailingWidget,
  19. Widget? leadingWidget,
  20. required Widget body,
  21. void onBackButtonPressed()?,
  22. Color? appBarBackgroundColor,
  23. Widget? drawer,
  24. Widget? footer,
  25. EdgeInsets? footerPadding,
})

Implementation

const KScaffold({
  super.key,
  this.extendBodyBehindAppBar = false,
  this.appBarPadding,
  this.extendBody = false,
  this.backgroundColor,
  this.resizeToAvoidBottomInset,
  this.appBar,
  this.applyDefaultAppBar = false,
  this.floatingActionButton,
  this.bottomNavigationBar,
  this.systemUiOverlayStyle,
  this.canPop = true,
  this.onPopInvokedWithResult,
  this.viewPadding,
  required this.title,
  this.subtitle,
  this.titleWidget,
  this.trailingWidget,
  this.leadingWidget,
  required this.body,
  this.onBackButtonPressed,
  this.appBarBackgroundColor,
  this.drawer,
  this.footer,
  this.footerPadding,
});