copyWith method

TextAreaStyleState copyWith({
  1. Style? base,
  2. Style? cursorLine,
  3. Style? cursorLineNumber,
  4. Style? endOfBuffer,
  5. Style? lineNumber,
  6. Style? placeholder,
  7. Style? prompt,
  8. Style? text,
})

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,
  );
}