InfoDialog constructor

const InfoDialog({
  1. Key? key,
  2. double? dialogWidth,
  3. double? dialogHeight,
  4. double? topDialogWidth,
  5. double? topDialogHeight,
  6. Color? topDialogColor,
  7. double? centerDialogWidth,
  8. double? centerDialogHeight,
  9. String? content,
  10. TextStyle? contentStyle,
  11. String? title,
  12. TextStyle? titleStyle,
  13. double? buttonWidth,
  14. double? buttonHeight,
  15. Color? buttonColor,
  16. String? buttonName,
  17. TextStyle? buttonStyle,
  18. Function? onPressButton,
})

Implementation

const InfoDialog({
  Key? key,
  this.dialogWidth,
  this.dialogHeight,
  this.topDialogWidth,
  this.topDialogHeight,
  this.topDialogColor,
  this.centerDialogWidth,
  this.centerDialogHeight,
  this.content,
  this.contentStyle,
  this.title,
  this.titleStyle,
  this.buttonWidth,
  this.buttonHeight,
  this.buttonColor,
  this.buttonName,
  this.buttonStyle,
  this.onPressButton,
}) : super(key: key);