Class

RemoteIconButtonColors

Represents the container and content colors used in an icon button in different states.

Source set: 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 an icon button in different states.

See RemoteIconButtonDefaults.iconButtonColors for the default colors used in a RemoteIconButton.

Parameters

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

Functions

copy

Source set: Android
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.

Content updated: