DHDialog constructor
DHDialog({
- Key? key,
- Widget? title,
- EdgeInsetsGeometry? titlePadding,
- TextStyle? titleTextStyle,
- Widget? titleDivider,
- Widget? content,
- EdgeInsetsGeometry? contentPadding,
- TextStyle? contentTextStyle,
- Widget? action,
- Widget? actionDivider,
- Color? backgroundColor,
- ShapeBorder? shape,
- double? elevation,
- EdgeInsets? dialogMargin,
- EdgeInsets? dialogPadding,
- double? dialogWidth,
- AlignmentGeometry dialogAlignment = Alignment.center,
- double? dialogMinHeight,
- double? dialogMaxHeight,
Implementation
DHDialog({
Key? key,
this.title,
this.titlePadding,
this.titleTextStyle,
this.titleDivider,
this.content,
this.contentPadding,
this.contentTextStyle,
this.action,
this.actionDivider,
this.backgroundColor,
this.shape,
this.elevation,
this.dialogMargin,
this.dialogPadding,
this.dialogWidth,
this.dialogAlignment = Alignment.center,
this.dialogMinHeight,
this.dialogMaxHeight,
}) : super(key: key);