copy
fun copy(itemBackgroundColor: Color = this.itemBackgroundColor, itemContentColor: Color = this.itemContentColor, selectedItemBackgroundColor: Color = this.selectedItemBackgroundColor, selectedItemContentColor: Color = this.selectedItemContentColor): SegmentControlColors
Returns a copy of this SegmentControlColors with the given parameters applied.
Return
A copy of this SegmentControlColors with the given parameters applied.
Parameters
itemBackgroundColor
The color to be used for the unchecked item background.
itemContentColor
The color to be used for the unchecked item content.
selectedItemBackgroundColor
The color to be used for the checked item background.
selectedItemContentColor
The color to be used for the checked item content.