PIDialogLayout constructor

PIDialogLayout({
  1. Key? key,
  2. String? title,
  3. Widget? titleWidget,
  4. String? content,
  5. TextAlign contentAlign = TextAlign.center,
  6. Widget? contentWidget,
  7. Widget? extra,
  8. String? cancelText,
  9. Function? cancelTap,
  10. String? confirmText,
  11. ConfirmColors confirmTextColor = ConfirmColors.warn,
  12. Function? confirmTap,
  13. bool isPopDialogOnClickCancel = true,
  14. bool disableButtons = false,
  15. double? width,
  16. double? maxHeight,
  17. double? minHeight,
  18. bool isShowCancel = true,
})

Implementation

PIDialogLayout({
  Key? key,
  this.title,
  this.titleWidget,
  this.content,
  this.contentAlign = TextAlign.center,
  this.contentWidget,
  this.extra,
  this.cancelText,
  this.cancelTap,
  this.confirmText,
  this.confirmTextColor = ConfirmColors.warn,
  this.confirmTap,
  this.isPopDialogOnClickCancel = true,
  this.disableButtons = false,
  this.width,
  this.maxHeight,
  this.minHeight,
  this.isShowCancel = true,
}) : super(key: key);