DHDialog constructor

DHDialog({
  1. Key? key,
  2. Widget? title,
  3. EdgeInsetsGeometry? titlePadding,
  4. TextStyle? titleTextStyle,
  5. Widget? titleDivider,
  6. Widget? content,
  7. EdgeInsetsGeometry? contentPadding,
  8. TextStyle? contentTextStyle,
  9. Widget? action,
  10. Widget? actionDivider,
  11. Color? backgroundColor,
  12. ShapeBorder? shape,
  13. double? elevation,
  14. EdgeInsets? dialogMargin,
  15. EdgeInsets? dialogPadding,
  16. double? dialogWidth,
  17. AlignmentGeometry dialogAlignment = Alignment.center,
  18. double? dialogMinHeight,
  19. 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);