SideSheet constructor

const SideSheet({
  1. Key? key,
  2. Widget? body,
  3. Widget? header,
  4. Widget? footer,
  5. String? title,
  6. required bool showBackButton,
  7. required bool showActions,
  8. required bool showFooterDivider,
  9. required bool showHeaderDivider,
  10. required bool showSideDivider,
  11. required bool safeAreaTop,
  12. required bool safeAreaBottom,
  13. required void confirmActionOnPressed()?,
  14. required void cancelActionOnPressed()?,
  15. required String confirmActionText,
  16. required String cancelActionText,
  17. required bool showCloseButton,
  18. required void onClose()?,
  19. required double sheetWidth,
  20. required SheetPosition sheetPosition,
  21. double? borderRadius,
  22. Color? backgroundColor,
  23. Color? surfaceTintColor,
  24. Color? textColor,
  25. Color? iconColor,
  26. Color? dividerColor,
  27. Color? confirmButtonBgColor,
  28. Color? confirmButtonTextColor,
  29. Color? cancelButtonBgColor,
  30. Color? cancelButtonTextColor,
  31. EdgeInsetsGeometry? headerPadding,
  32. EdgeInsetsGeometry? footerPadding,
})

Implementation

const SideSheet({
  Key? key,
  this.body,
  this.header,
  this.footer,
  this.title,
  required this.showBackButton,
  required this.showActions,
  required this.showFooterDivider,
  required this.showHeaderDivider,
  required this.showSideDivider,
  required this.safeAreaTop,
  required this.safeAreaBottom,
  required this.confirmActionOnPressed,
  required this.cancelActionOnPressed,
  required this.confirmActionText,
  required this.cancelActionText,
  required this.showCloseButton,
  required this.onClose,
  required this.sheetWidth,
  required this.sheetPosition,
  this.borderRadius,
  this.backgroundColor,
  this.surfaceTintColor,
  this.textColor,
  this.iconColor,
  this.dividerColor,
  this.confirmButtonBgColor,
  this.confirmButtonTextColor,
  this.cancelButtonBgColor,
  this.cancelButtonTextColor,
  this.headerPadding,
  this.footerPadding,
}) : super(key: key);