OptionVibrants

@Immutable
class OptionVibrants

The vibrants used by Option.

Properties

Link copied to clipboard

The background color when option is checked.

Link copied to clipboard

The content color when option is checked.

Link copied to clipboard

The background color when option is unchecked.

Link copied to clipboard

The content color when option is unchecked.

Functions

Link copied to clipboard
@Stable
fun copy(checkedContainerVibrant: Vibrant = this.checkedContainerVibrant, checkedContentVibrant: Vibrant = this.checkedContentVibrant, unCheckedContainerVibrant: Vibrant = this.unCheckedContainerVibrant, unCheckedContentVibrant: Vibrant = this.unCheckedContentVibrant): OptionVibrants

Copy a new OptionVibrants instance from current 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