DialogContainer constructor

const DialogContainer({
  1. Key? key,
  2. Color color = Colors.blue,
  3. String image = AssetsManager.infoImage,
  4. String bigHeader = StringsManager.infoDialog,
  5. String headerText = StringsManager.headerText,
  6. String bodyText = StringsManager.bodyText,
  7. String closeButtonText = StringsManager.closeButtonText,
  8. bool isNotifyDialog = false,
  9. String okButtonText = StringsManager.okButtonText,
  10. Widget? centerBodyWidget,
  11. Widget? centerTitleWidget,
  12. Function? onOkButtonPressed,
  13. Function? onCloseButtonPressed,
  14. Widget? okButtonWidget,
  15. Widget? cancelButtonWidget,
})

Implementation

const DialogContainer({
  Key? key,
  this.color = Colors.blue,
  this.image = AssetsManager.infoImage,
  this.bigHeader = StringsManager.infoDialog,
  this.headerText = StringsManager.headerText,
  this.bodyText = StringsManager.bodyText,
  this.closeButtonText = StringsManager.closeButtonText,
  this.isNotifyDialog = false,
  this.okButtonText = StringsManager.okButtonText,
  this.centerBodyWidget,
  this.centerTitleWidget,
  this.onOkButtonPressed,
  this.onCloseButtonPressed,
  this.okButtonWidget,
  this.cancelButtonWidget,
}) : super(key: key);