copy

fun copy(contentVibrant: Vibrant = this.contentVibrant, backgroundVibrant: Vibrant = this.backgroundVibrant, activeContentVibrant: Vibrant = this.activeContentVibrant, activeBackgroundVibrant: Vibrant = this.activeBackgroundVibrant): ToggleableChipVibrants

Create a new ToggleableChipVibrants instance with the specified vibrant properties. If some vibrant values are not provided, the vibrant values of the current instance are used.

Return

A new ToggleableChipVibrants instance with the specified properties.

Parameters

contentVibrant

The content vibrant of the chip. If not provided, the content vibrant of the current instance is used.

backgroundVibrant

The background vibrant of the chip. If not provided, the background vibrant of the current instance is used.

activeContentVibrant

The content vibrant when the toggle state is on. If not provided, the active content vibrant of the current instance is used.

activeBackgroundVibrant

The background vibrant when the toggle state is on. If not provided, the active background vibrant of the current instance is used.