DialogContainer constructor
const
DialogContainer({
- Key? key,
- Color color = Colors.blue,
- String image = AssetsManager.infoImage,
- String bigHeader = StringsManager.infoDialog,
- String headerText = StringsManager.headerText,
- String bodyText = StringsManager.bodyText,
- String closeButtonText = StringsManager.closeButtonText,
- bool isNotifyDialog = false,
- String okButtonText = StringsManager.okButtonText,
- Widget? centerBodyWidget,
- Widget? centerTitleWidget,
- Function? onOkButtonPressed,
- Function? onCloseButtonPressed,
- Widget? okButtonWidget,
- 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);