copyWith method
FluentEditorLabels
copyWith({
- String? file,
- String? save,
- String? open,
- String? exportAs,
- String? microsoftWord,
- String? libreOffice,
- String? pdf,
- String? html,
- String? markdown,
- String? importHtml,
- String? importMarkdown,
- String? importDocx,
- String? importOdt,
- String? fileSaved,
- String? fileLoaded,
- String? fileLoadError,
- String? exportSuccess,
- String? exportError,
- String? documentCopied,
- String? edit,
- String? undo,
- String? redo,
- String? cut,
- String? copy,
- String? paste,
- String? pasteWithoutFormatting,
- String? selectAll,
- String? delete,
- String? wordCount,
- String? characterCount,
- String? insert,
- String? link,
- String? image,
- String? table,
- String? horizontalLine,
- String? settings,
- String? showStats,
- String? documentLanguage,
- String? format,
- String? text,
- String? bold,
- String? italic,
- String? underline,
- String? strikethrough,
- String? superscript,
- String? subscript,
- String? smallCaps,
- String? styles,
- String? align,
- String? alignLeft,
- String? alignCenter,
- String? alignRight,
- String? justify,
- String? increaseIndent,
- String? decreaseIndent,
- String? alignAndIndent,
- String? lineSpacing,
- String? lineSpacingSingle,
- String? lineSpacing115,
- String? lineSpacing15,
- String? lineSpacingDouble,
- String? paragraphSpacing,
- String? textColor,
- String? highlightColor,
- String? insertLink,
- String? cancel,
- String? confirmButton,
- String? insertButton,
- String? apply,
- String? insertImage,
- String? or,
- String? done,
- String? url,
- String? urlHint,
- String? urlRequired,
- String? linkText,
- String? linkTextHint,
- String? linkTextRequired,
- String? lineHeight,
- String? spacingBefore,
- String? spacingAfter,
- String? imageUrl,
- String? imageUrlHint,
- String? dragImageHere,
- String? clickToChooseImage,
- String? imageSelected,
- String? fileReadError,
- String? chooseListMarkerType,
- String? all,
- String? bullets,
- String? numbers,
- String? checkboxes,
- String? replaceImage,
- String? replaceLink,
- String? deleteImage,
- String? deleteLink,
- String? goToLink,
- String? insertRowAbove,
- String? insertRowBelow,
- String? addCommentLabel,
- String? commentDialogTitle,
- String? commentHint,
- String? commentOverlapWarning,
- String? sidebarTitle,
- String? emptySidebarMessage,
- String? showResolvedLabel,
- String? showCommentsLabel,
- String? hideCommentsLabel,
- String? deletedTextLabel,
- String? resolvedLabel,
- String? replyHint,
- String? resolveButton,
- String? defaultAuthorName,
- String? anonymousLabel,
- String? pdfCommentSubject,
- String? authorInfoDialogTitle,
- String? authorNameLabel,
- String? authorNameHint,
- String? setAuthorLabel,
Creates a copy of this FluentEditorLabels with specified fields overridden.
Implementation
FluentEditorLabels copyWith({
String? file,
String? save,
String? open,
String? exportAs,
String? microsoftWord,
String? libreOffice,
String? pdf,
String? html,
String? markdown,
String? importHtml,
String? importMarkdown,
String? importDocx,
String? importOdt,
String? fileSaved,
String? fileLoaded,
String? fileLoadError,
String? exportSuccess,
String? exportError,
String? documentCopied,
String? edit,
String? undo,
String? redo,
String? cut,
String? copy,
String? paste,
String? pasteWithoutFormatting,
String? selectAll,
String? delete,
String? wordCount,
String? characterCount,
String? insert,
String? link,
String? image,
String? table,
String? horizontalLine,
String? settings,
String? showStats,
String? documentLanguage,
String? format,
String? text,
String? bold,
String? italic,
String? underline,
String? strikethrough,
String? superscript,
String? subscript,
String? smallCaps,
String? styles,
String? align,
String? alignLeft,
String? alignCenter,
String? alignRight,
String? justify,
String? increaseIndent,
String? decreaseIndent,
String? alignAndIndent,
String? lineSpacing,
String? lineSpacingSingle,
String? lineSpacing115,
String? lineSpacing15,
String? lineSpacingDouble,
String? paragraphSpacing,
String? textColor,
String? highlightColor,
String? insertLink,
String? cancel,
String? confirmButton,
String? insertButton,
String? apply,
String? insertImage,
String? or,
String? done,
String? url,
String? urlHint,
String? urlRequired,
String? linkText,
String? linkTextHint,
String? linkTextRequired,
String? lineHeight,
String? spacingBefore,
String? spacingAfter,
String? imageUrl,
String? imageUrlHint,
String? dragImageHere,
String? clickToChooseImage,
String? imageSelected,
String? fileReadError,
String? chooseListMarkerType,
String? all,
String? bullets,
String? numbers,
String? checkboxes,
String? replaceImage,
String? replaceLink,
String? deleteImage,
String? deleteLink,
String? goToLink,
String? insertRowAbove,
String? insertRowBelow,
String? addCommentLabel,
String? commentDialogTitle,
String? commentHint,
String? commentOverlapWarning,
String? sidebarTitle,
String? emptySidebarMessage,
String? showResolvedLabel,
String? showCommentsLabel,
String? hideCommentsLabel,
String? deletedTextLabel,
String? resolvedLabel,
String? replyHint,
String? resolveButton,
String? defaultAuthorName,
String? anonymousLabel,
String? pdfCommentSubject,
String? authorInfoDialogTitle,
String? authorNameLabel,
String? authorNameHint,
String? setAuthorLabel,
}) {
return FluentEditorLabels(
file: file ?? this.file,
save: save ?? this.save,
open: open ?? this.open,
exportAs: exportAs ?? this.exportAs,
microsoftWord: microsoftWord ?? this.microsoftWord,
libreOffice: libreOffice ?? this.libreOffice,
pdf: pdf ?? this.pdf,
html: html ?? this.html,
markdown: markdown ?? this.markdown,
importHtml: importHtml ?? this.importHtml,
importMarkdown: importMarkdown ?? this.importMarkdown,
importDocx: importDocx ?? this.importDocx,
importOdt: importOdt ?? this.importOdt,
fileSaved: fileSaved ?? this.fileSaved,
fileLoaded: fileLoaded ?? this.fileLoaded,
fileLoadError: fileLoadError ?? this.fileLoadError,
exportSuccess: exportSuccess ?? this.exportSuccess,
exportError: exportError ?? this.exportError,
documentCopied: documentCopied ?? this.documentCopied,
edit: edit ?? this.edit,
undo: undo ?? this.undo,
redo: redo ?? this.redo,
cut: cut ?? this.cut,
copy: copy ?? this.copy,
paste: paste ?? this.paste,
pasteWithoutFormatting:
pasteWithoutFormatting ?? this.pasteWithoutFormatting,
selectAll: selectAll ?? this.selectAll,
delete: delete ?? this.delete,
wordCount: wordCount ?? this.wordCount,
characterCount: characterCount ?? this.characterCount,
insert: insert ?? this.insert,
link: link ?? this.link,
image: image ?? this.image,
table: table ?? this.table,
horizontalLine: horizontalLine ?? this.horizontalLine,
settings: settings ?? this.settings,
showStats: showStats ?? this.showStats,
documentLanguage: documentLanguage ?? this.documentLanguage,
format: format ?? this.format,
text: text ?? this.text,
bold: bold ?? this.bold,
italic: italic ?? this.italic,
underline: underline ?? this.underline,
strikethrough: strikethrough ?? this.strikethrough,
superscript: superscript ?? this.superscript,
subscript: subscript ?? this.subscript,
smallCaps: smallCaps ?? this.smallCaps,
styles: styles ?? this.styles,
align: align ?? this.align,
alignLeft: alignLeft ?? this.alignLeft,
alignCenter: alignCenter ?? this.alignCenter,
alignRight: alignRight ?? this.alignRight,
justify: justify ?? this.justify,
increaseIndent: increaseIndent ?? this.increaseIndent,
decreaseIndent: decreaseIndent ?? this.decreaseIndent,
alignAndIndent: alignAndIndent ?? this.alignAndIndent,
lineSpacing: lineSpacing ?? this.lineSpacing,
lineSpacingSingle: lineSpacingSingle ?? this.lineSpacingSingle,
lineSpacing115: lineSpacing115 ?? this.lineSpacing115,
lineSpacing15: lineSpacing15 ?? this.lineSpacing15,
lineSpacingDouble: lineSpacingDouble ?? this.lineSpacingDouble,
paragraphSpacing: paragraphSpacing ?? this.paragraphSpacing,
textColor: textColor ?? this.textColor,
highlightColor: highlightColor ?? this.highlightColor,
insertLink: insertLink ?? this.insertLink,
cancel: cancel ?? this.cancel,
confirmButton: confirmButton ?? this.confirmButton,
insertButton: insertButton ?? this.insertButton,
apply: apply ?? this.apply,
insertImage: insertImage ?? this.insertImage,
or: or ?? this.or,
done: done ?? this.done,
url: url ?? this.url,
urlHint: urlHint ?? this.urlHint,
urlRequired: urlRequired ?? this.urlRequired,
linkText: linkText ?? this.linkText,
linkTextHint: linkTextHint ?? this.linkTextHint,
linkTextRequired: linkTextRequired ?? this.linkTextRequired,
lineHeight: lineHeight ?? this.lineHeight,
spacingBefore: spacingBefore ?? this.spacingBefore,
spacingAfter: spacingAfter ?? this.spacingAfter,
imageUrl: imageUrl ?? this.imageUrl,
imageUrlHint: imageUrlHint ?? this.imageUrlHint,
dragImageHere: dragImageHere ?? this.dragImageHere,
clickToChooseImage: clickToChooseImage ?? this.clickToChooseImage,
imageSelected: imageSelected ?? this.imageSelected,
fileReadError: fileReadError ?? this.fileReadError,
chooseListMarkerType: chooseListMarkerType ?? this.chooseListMarkerType,
all: all ?? this.all,
bullets: bullets ?? this.bullets,
numbers: numbers ?? this.numbers,
checkboxes: checkboxes ?? this.checkboxes,
replaceImage: replaceImage ?? this.replaceImage,
replaceLink: replaceLink ?? this.replaceLink,
deleteImage: deleteImage ?? this.deleteImage,
deleteLink: deleteLink ?? this.deleteLink,
goToLink: goToLink ?? this.goToLink,
insertRowAbove: insertRowAbove ?? this.insertRowAbove,
insertRowBelow: insertRowBelow ?? this.insertRowBelow,
addCommentLabel: addCommentLabel ?? this.addCommentLabel,
commentDialogTitle: commentDialogTitle ?? this.commentDialogTitle,
commentHint: commentHint ?? this.commentHint,
commentOverlapWarning:
commentOverlapWarning ?? this.commentOverlapWarning,
sidebarTitle: sidebarTitle ?? this.sidebarTitle,
emptySidebarMessage: emptySidebarMessage ?? this.emptySidebarMessage,
showResolvedLabel: showResolvedLabel ?? this.showResolvedLabel,
showCommentsLabel: showCommentsLabel ?? this.showCommentsLabel,
hideCommentsLabel: hideCommentsLabel ?? this.hideCommentsLabel,
deletedTextLabel: deletedTextLabel ?? this.deletedTextLabel,
resolvedLabel: resolvedLabel ?? this.resolvedLabel,
replyHint: replyHint ?? this.replyHint,
resolveButton: resolveButton ?? this.resolveButton,
defaultAuthorName: defaultAuthorName ?? this.defaultAuthorName,
anonymousLabel: anonymousLabel ?? this.anonymousLabel,
pdfCommentSubject: pdfCommentSubject ?? this.pdfCommentSubject,
authorInfoDialogTitle:
authorInfoDialogTitle ?? this.authorInfoDialogTitle,
authorNameLabel: authorNameLabel ?? this.authorNameLabel,
authorNameHint: authorNameHint ?? this.authorNameHint,
setAuthorLabel: setAuthorLabel ?? this.setAuthorLabel,
);
}