copyWith method
Implementation
TextAreaStyleState copyWith({
Style? base,
Style? cursorLine,
Style? cursorLineNumber,
Style? endOfBuffer,
Style? lineNumber,
Style? placeholder,
Style? prompt,
Style? text,
}) {
return TextAreaStyleState(
base: base ?? this.base,
cursorLine: cursorLine ?? this.cursorLine,
cursorLineNumber: cursorLineNumber ?? this.cursorLineNumber,
endOfBuffer: endOfBuffer ?? this.endOfBuffer,
lineNumber: lineNumber ?? this.lineNumber,
placeholder: placeholder ?? this.placeholder,
prompt: prompt ?? this.prompt,
text: text ?? this.text,
);
}