copy

fun copy(textColor: Color = this.textColor, backgroundColor: Color = this.backgroundColor, focusedColor: Color = this.focusedColor, placeholderColor: Color = this.placeholderColor, errorColor: Color = this.errorColor): TextFieldColors

copy to a new instance

Return

The new TextFieldColors instance with expected colors. See parameter list for color list.