copy

fun copy(containerColor: Color = this.containerColor, contentColor: Color = this.contentColor, modalContainerColor: Color = this.modalContainerColor, modalScrimColor: Color = this.modalScrimColor, modalContentColor: Color = this.modalContentColor): WideNavigationRailColors

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