AntdActionSheet constructor
const
AntdActionSheet({
- Key? key,
- AntdActionSheetStyle? style,
- AntdStyleBuilder<
AntdActionSheetStyle, AntdActionSheet> ? styleBuilder, - VoidCallback? onClosed,
- VoidCallback? onOpened,
- VoidCallback? onMaskTap,
- bool? dismissOnMaskTap = true,
- AntdMaskOpacity? opacity,
- bool? showMask = true,
- required List<
AntdSheetAction> actions, - Widget? cancelText,
- bool? dismissOnAction = true,
- Widget? extra,
- AntdActionCallback? onAction,
- bool safeArea = true,
- AntdActionSheetAnimation? animation,
Implementation
const AntdActionSheet({
super.key,
super.style,
super.styleBuilder,
super.onClosed,
super.onOpened,
super.onMaskTap,
super.dismissOnMaskTap = true,
super.opacity,
super.showMask = true,
required this.actions,
this.cancelText,
this.dismissOnAction = true,
this.extra,
this.onAction,
this.safeArea = true,
this.animation,
}) : super(position: AntdPosition.bottom);