copyWith method
Copy with selective overrides.
Implementation
GitDiffThemeData copyWith({
Color? addedBackground,
Color? addedForeground,
Color? removedBackground,
Color? removedForeground,
Color? contextForeground,
Color? headerForeground,
}) {
return GitDiffThemeData(
addedBackground: addedBackground ?? this.addedBackground,
addedForeground: addedForeground ?? this.addedForeground,
removedBackground: removedBackground ?? this.removedBackground,
removedForeground: removedForeground ?? this.removedForeground,
contextForeground: contextForeground ?? this.contextForeground,
headerForeground: headerForeground ?? this.headerForeground,
);
}