copyWith method
TerminalColors
copyWith(
{ - int? background,
- int? foreground,
- int? selection,
- List<int>? ansi,
- int? searchMatchBg,
- int? searchMatchFg,
- int? searchFocusedBg,
- int? searchFocusedFg,
- int? hintStartFg,
- int? hintStartBg,
- int? cursorText,
- int? cursorBody,
})
Implementation
TerminalColors copyWith({
int? background,
int? foreground,
int? selection,
List<int>? ansi,
int? searchMatchBg,
int? searchMatchFg,
int? searchFocusedBg,
int? searchFocusedFg,
int? hintStartFg,
int? hintStartBg,
int? cursorText,
int? cursorBody,
}) =>
TerminalColors(
background: background ?? this.background,
foreground: foreground ?? this.foreground,
selection: selection ?? this.selection,
ansi: ansi ?? this.ansi,
searchMatchBg: searchMatchBg ?? this.searchMatchBg,
searchMatchFg: searchMatchFg ?? this.searchMatchFg,
searchFocusedBg: searchFocusedBg ?? this.searchFocusedBg,
searchFocusedFg: searchFocusedFg ?? this.searchFocusedFg,
hintStartFg: hintStartFg ?? this.hintStartFg,
hintStartBg: hintStartBg ?? this.hintStartBg,
cursorText: cursorText ?? this.cursorText,
cursorBody: cursorBody ?? this.cursorBody,
);