SegmentControlVibrants

@Immutable
class SegmentControlVibrants

The vibrants used in the segment control.

Parameters

itemBackgroundVibrant

The Vibrant to be used for the unchecked item background.

itemContentVibrant

The Vibrant to be used for the unchecked item content.

selectedItemBackgroundVibrant

The Vibrant to be used for the checked item background.

selectedItemContentVibrant

The Vibrant to be used for the checked item content.

Functions

Link copied to clipboard
fun copy(itemBackgroundVibrant: Vibrant = this.itemBackgroundVibrant, itemContentVibrant: Vibrant = this.itemContentVibrant, selectedItemBackgroundVibrant: Vibrant = this.selectedItemBackgroundVibrant, selectedItemContentVibrant: Vibrant = this.selectedItemContentVibrant): SegmentControlVibrants

Returns a copy of this SegmentControlVibrants with the given parameters applied.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int