PIDialogLayout constructor
PIDialogLayout({
- Key? key,
- String? title,
- Widget? titleWidget,
- String? content,
- TextAlign contentAlign = TextAlign.center,
- Widget? contentWidget,
- Widget? extra,
- String? cancelText,
- Function? cancelTap,
- String? confirmText,
- ConfirmColors confirmTextColor = ConfirmColors.warn,
- Function? confirmTap,
- bool isPopDialogOnClickCancel = true,
- bool disableButtons = false,
- double? width,
- double? maxHeight,
- double? minHeight,
- 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);