ContentExportWidget constructor

ContentExportWidget(
  1. Widget? contentWidget, {
  2. Key? key,
  3. String? title,
  4. required bool isClose,
  5. String? submitText,
  6. VoidCallback? onSubmit,
  7. Color? submitBgColor,
  8. required bool isShowOperateWidget,
  9. DialogConfig? themeData,
})

Implementation

ContentExportWidget(this.contentWidget,
    {super.key,
    this.title,
    required this.isClose,
    this.submitText,
    this.onSubmit,
    this.submitBgColor,
    required this.isShowOperateWidget,
    this.themeData}) {
  themeData ??= DialogConfig();
  themeData = BaseThemeConfig.instance
      .getConfig(configId: themeData!.configId)
      .dialogConfig
      .merge(themeData);
}