Source set: Android
public class ToggleButtonColors(
public val backgroundColor: Color,
public val checkedBackgroundColor: Color,
public val contentColor: Color,
public val checkedContentColor: Color,
)
Represents the colors used by a ToggleButton in different states.
Functions
copy
Source set: Android
public fun copy(
backgroundColor: Color = this.backgroundColor,
checkedBackgroundColor: Color = this.checkedBackgroundColor,
contentColor: Color = this.contentColor,
checkedContentColor: Color = this.checkedContentColor,
): ToggleButtonColors
Returns a copy of this ToggleButtonColors, optionally overriding some of the values.
equals
Source set: Android
override fun equals(other: Any?): Boolean
hashCode
Source set: Android
override fun hashCode(): Int