ConfirmActionDialog.cupertino constructor

const ConfirmActionDialog.cupertino({
  1. Key? key,
  2. Widget? confirm,
  3. String? confirmText = '确定',
  4. GestureTapCallback? onConfirmTap,
  5. String? contentText,
  6. Widget? content,
  7. String? titleText,
  8. Widget? title,
  9. bool autoClose = false,
  10. List<Widget>? actions,
})

Implementation

const ConfirmActionDialog.cupertino({
  super.key,
  this.confirm,
  this.confirmText = '确定',
  this.onConfirmTap,
  this.contentText,
  this.content,
  this.titleText,
  this.title,
  this.autoClose = false,
  this.actions,
})  : hasDivider = false,
      options = null,
      resizeToAvoidBottomInset = true,
      isCupertino = true;