copyWith method

DialogWidgets copyWith({
  1. Widget loadingDialog(
    1. String message,
    2. ProImageEditorConfigs configs
    )?,
})

Creates a copy of this widget configuration with specified overrides.

Implementation

DialogWidgets copyWith({
  Widget Function(String message, ProImageEditorConfigs configs)?
      loadingDialog,
}) {
  return DialogWidgets(loadingDialog: loadingDialog ?? this.loadingDialog);
}