copyWith method
Palette
copyWith(
{ - int? background,
- int? surface,
- int? displayText,
- int? previewText,
- int? error,
- int? caret,
- int? focusRing,
- int? accent,
- KeyColors? digit,
- KeyColors? operator,
- KeyColors? equals,
- KeyColors? function,
- int? shadow,
- int? highlight,
- int? seedColor,
- int? lcdGhost,
})
Implementation
Palette copyWith({
int? background,
int? surface,
int? displayText,
int? previewText,
int? error,
int? caret,
int? focusRing,
int? accent,
KeyColors? digit,
KeyColors? operator,
KeyColors? equals,
KeyColors? function,
int? shadow,
int? highlight,
int? seedColor,
int? lcdGhost,
}) => Palette(
background: background ?? this.background,
surface: surface ?? this.surface,
displayText: displayText ?? this.displayText,
previewText: previewText ?? this.previewText,
error: error ?? this.error,
caret: caret ?? this.caret,
focusRing: focusRing ?? this.focusRing,
accent: accent ?? this.accent,
digit: digit ?? this.digit,
operator: operator ?? this.operator,
equals: equals ?? this.equals,
function: function ?? this.function,
shadow: shadow ?? this.shadow,
highlight: highlight ?? this.highlight,
seedColor: seedColor ?? this.seedColor,
lcdGhost: lcdGhost ?? this.lcdGhost,
);