AntdActionSheet constructor

const AntdActionSheet({
  1. Key? key,
  2. AntdActionSheetStyle? style,
  3. AntdStyleBuilder<AntdActionSheetStyle, AntdActionSheet>? styleBuilder,
  4. VoidCallback? onClosed,
  5. VoidCallback? onOpened,
  6. VoidCallback? onMaskTap,
  7. bool? dismissOnMaskTap = true,
  8. AntdMaskOpacity? opacity,
  9. bool? showMask = true,
  10. required List<AntdSheetAction> actions,
  11. Widget? cancelText,
  12. bool? dismissOnAction = true,
  13. Widget? extra,
  14. AntdActionCallback? onAction,
  15. bool safeArea = true,
  16. 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);