copyWith method
Implementation
PrintfStyle copyWith({
Color? foreground,
Color? background,
bool? italic,
bool? bold,
bool? underline,
bool? invert,
bool? strike,
bool? doubleUnderline,
bool? framed,
}) {
return PrintfStyle(
foreground: foreground ?? this.foreground,
background: background ?? this.background,
italic: italic ?? this.italic,
bold: bold ?? this.bold,
underline: underline ?? this.underline,
invert: invert ?? this.invert,
strike: strike ?? this.strike,
doubleUnderline: doubleUnderline ?? this.doubleUnderline,
framed: framed ?? this.framed,
);
}