Class

RemoteIconButtonColors

Represents the container and content colors used in a text button in different states.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class RemoteIconButtonColors(
    public val containerColor: RemoteColor,
    public val contentColor: RemoteColor,
    public val disabledContainerColor: RemoteColor,
    public val disabledContentColor: RemoteColor,
)

Represents the container and content colors used in a text button in different states.

Parameters

containerColor the background color of this text button when enabled.
contentColor the content color of this text button when enabled.
disabledContainerColor the background color of this text button when not enabled.
disabledContentColor the content color of this text button when not enabled.

Functions

copy

public fun copy(
        containerColor: RemoteColor? = this.containerColor,
        contentColor: RemoteColor? = this.contentColor,
        disabledContainerColor: RemoteColor? = this.disabledContainerColor,
        disabledContentColor: RemoteColor? = this.disabledContentColor,
    ): RemoteIconButtonColors

Returns a copy of this RemoteIconButtonColors optionally overriding some of the values.

Parameters

containerColor the background color of this text button when enabled.
contentColor the content color of this text button when enabled.
disabledContainerColor the background color of this text button when not enabled.
disabledContentColor the content color of this text button when not enabled.