SideSheet constructor
const
SideSheet({
- Key? key,
- Widget? body,
- Widget? header,
- String? title,
- required bool showBackButton,
- required bool showActions,
- required bool showHeaderDivider,
- required bool showSideDivider,
- required bool safeAreaTop,
- required bool safeAreaBottom,
- required void confirmActionOnPressed()?,
- required void cancelActionOnPressed()?,
- required String confirmActionText,
- required String cancelActionText,
- required bool showCloseButton,
- required void onClose()?,
- required double sheetWidth,
- required SheetPosition sheetPosition,
- double? borderRadius,
- Color? backgroundColor,
- Color? surfaceTintColor,
- Color? textColor,
- Color? iconColor,
- Color? dividerColor,
- Color? confirmButtonBgColor,
- Color? confirmButtonTextColor,
- Color? cancelButtonBgColor,
- Color? cancelButtonTextColor,
- EdgeInsetsGeometry? headerPadding,
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);