copy

fun copy(textColor: Color = this.textColor, leadingIconColor: Color = this.leadingIconColor, trailingIconColor: Color = this.trailingIconColor, disabledTextColor: Color = this.disabledTextColor, disabledLeadingIconColor: Color = this.disabledLeadingIconColor, disabledTrailingIconColor: Color = this.disabledTrailingIconColor): MenuItemColors

Returns a copy of this MenuItemColors, optionally overriding some of the values. This uses the Color.Unspecified to mean “use the value from the source”