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
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.