ADialogWidget constructor

const ADialogWidget({
  1. Key? key,
  2. required DialogType type,
  3. Color? color,
  4. String? bigHeader,
  5. String? headerText,
  6. String? bodyText,
  7. String? buttonText,
  8. Widget? customDialog,
  9. double? height,
  10. double? width,
  11. String? okButtonText,
  12. Widget? cancelButtonWidget,
  13. Widget? centerBodyWidget,
  14. Widget? centerTitleWidget,
  15. Widget? okButtonWidget,
  16. Function? onCloseButtonPressed,
  17. Function? onOkButtonPressed,
})

Implementation

const ADialogWidget({
  Key? key,
  required this.type,
  this.color,
  this.bigHeader,
  this.headerText,
  this.bodyText,
  this.buttonText,
  this.customDialog,
  this.height,
  this.width,
  this.okButtonText,
  this.cancelButtonWidget,
  this.centerBodyWidget,
  this.centerTitleWidget,
  this.okButtonWidget,
  this.onCloseButtonPressed,
  this.onOkButtonPressed,
}) : super(key: key);