ConfirmActionDialog constructor

const ConfirmActionDialog({
  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. bool hasDivider = true,
  11. ModalBoxOptions? options,
  12. List<Widget>? actions,
  13. bool resizeToAvoidBottomInset = true,
})

Implementation

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