merge method
Implementation
StyleData merge(StyleData overlay) {
return copyWith(
bold: overlay.bold,
italic: overlay.italic,
underline: overlay.underline,
underlineStyle: overlay.underlineStyle,
strikethrough: overlay.strikethrough,
dim: overlay.dim,
inverse: overlay.inverse,
blink: overlay.blink,
foreground: overlay.foreground,
background: overlay.background,
borderForeground: overlay.borderForeground,
borderBackground: overlay.borderBackground,
borderTopForeground: overlay.borderTopForeground,
borderRightForeground: overlay.borderRightForeground,
borderBottomForeground: overlay.borderBottomForeground,
borderLeftForeground: overlay.borderLeftForeground,
borderTopBackground: overlay.borderTopBackground,
borderRightBackground: overlay.borderRightBackground,
borderBottomBackground: overlay.borderBottomBackground,
borderLeftBackground: overlay.borderLeftBackground,
borderForegroundBlend: overlay.borderForegroundBlend.isEmpty
? borderForegroundBlend
: overlay.borderForegroundBlend,
borderForegroundBlendOffset: overlay.borderForegroundBlendOffset,
width: overlay.width,
height: overlay.height,
maxWidth: overlay.maxWidth,
maxHeight: overlay.maxHeight,
padding: overlay.padding,
margin: overlay.margin,
align: overlay.align,
alignVertical: overlay.alignVertical,
border: overlay.border,
borderSides: overlay.borderSides,
inline: overlay.inline,
wrapAnsi: overlay.wrapAnsi,
transform: overlay.transform,
paddingChar: overlay.paddingChar,
marginChar: overlay.marginChar,
whitespaceChar: overlay.whitespaceChar,
whitespaceForeground: overlay.whitespaceForeground,
stringValue: overlay.stringValue,
tabWidth: overlay.tabWidth,
underlineSpaces: overlay.underlineSpaces,
strikethroughSpaces: overlay.strikethroughSpaces,
colorWhitespace: overlay.colorWhitespace,
hyperlinkUrl: overlay.hyperlinkUrl,
hyperlinkParams: overlay.hyperlinkParams,
marginBackground: overlay.marginBackground,
underlineColor: overlay.underlineColor,
);
}