copyWith method
Creates a copy of this but with the given fields replaced with the new values.
Implementation
TextSettings copyWith({TextStyle? textStyle, FocusNode? focusNode}) {
return TextSettings(
textStyle: textStyle ?? this.textStyle,
focusNode: focusNode ?? this.focusNode);
}