EnhanceOperationDialog constructor

EnhanceOperationDialog({
  1. Key? key,
  2. int iconType = DialogConstants.iconAlert,
  3. Widget? customIconWidget,
  4. required BuildContext context,
  5. String? titleText,
  6. String? descText,
  7. String? mainButtonText,
  8. String? secondaryButtonText,
  9. VoidCallback? onMainButtonClick,
  10. VoidCallback? onSecondaryButtonClick,
  11. 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);
}