EnhanceOperationDialog constructor
EnhanceOperationDialog({
- Key? key,
- int iconType = DialogConstants.iconAlert,
- Widget? customIconWidget,
- required BuildContext context,
- String? titleText,
- String? descText,
- String? mainButtonText,
- String? secondaryButtonText,
- VoidCallback? onMainButtonClick,
- VoidCallback? onSecondaryButtonClick,
- DialogConfig? themeData,
Implementation
EnhanceOperationDialog({
super.key,
this.iconType = DialogConstants.iconAlert,
this.customIconWidget,
required this.context,
this.titleText,
this.descText,
this.mainButtonText,
this.secondaryButtonText,
this.onMainButtonClick,
this.onSecondaryButtonClick,
this.themeData,
}) {
themeData ??= DialogConfig();
themeData = BaseThemeConfig.instance
.getConfig(configId: themeData!.configId)
.dialogConfig
.merge(themeData);
}