class RemoteButtonColors


Represents the container and content colors used in buttons in different states.

Summary

Public constructors

RemoteButtonColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    secondaryContentColor: RemoteColor,
    iconColor: RemoteColor,
    disabledContainerColor: RemoteColor,
    disabledContentColor: RemoteColor,
    disabledSecondaryContentColor: RemoteColor,
    disabledIconColor: RemoteColor
)

Public functions

RemoteButtonColors
copy(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    secondaryContentColor: RemoteColor?,
    iconColor: RemoteColor?,
    disabledContainerColor: RemoteColor?,
    disabledContentColor: RemoteColor?,
    disabledSecondaryContentColor: RemoteColor?,
    disabledIconColor: RemoteColor?
)

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

Public properties

RemoteColor

The background color of this RemoteButton when enabled (overridden by the containerPainter parameter on Buttons with image backgrounds).

RemoteColor

The content color of this RemoteButton when enabled.

RemoteColor

The background color of this RemoteButton when not enabled (overridden by the disabledContainerPainter parameter on Buttons with image backgrounds)

RemoteColor

The content color of this RemoteButton when not enabled.

RemoteColor

The content color of this RemoteButton when not enabled.

RemoteColor

The content color of this RemoteButton when not enabled.

RemoteColor

The content color of this RemoteButton when enabled.

RemoteColor

The content color of this RemoteButton when enabled.

Public constructors

RemoteButtonColors

Added in 1.0.0-alpha01
RemoteButtonColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    secondaryContentColor: RemoteColor,
    iconColor: RemoteColor,
    disabledContainerColor: RemoteColor,
    disabledContentColor: RemoteColor,
    disabledSecondaryContentColor: RemoteColor,
    disabledIconColor: RemoteColor
)
Parameters
containerColor: RemoteColor

The background color of this RemoteButton when enabled (overridden by the containerPainter parameter on Buttons with image backgrounds).

contentColor: RemoteColor

The content color of this RemoteButton when enabled.

secondaryContentColor: RemoteColor

The content color of this RemoteButton when enabled.

iconColor: RemoteColor

The content color of this RemoteButton when enabled.

disabledContainerColor: RemoteColor

The background color of this RemoteButton when not enabled (overridden by the disabledContainerPainter parameter on Buttons with image backgrounds)

disabledContentColor: RemoteColor

The content color of this RemoteButton when not enabled.

disabledSecondaryContentColor: RemoteColor

The content color of this RemoteButton when not enabled.

disabledIconColor: RemoteColor

The content color of this RemoteButton when not enabled.

Public functions

copy

Added in 1.0.0-alpha01
fun copy(
    containerColor: RemoteColor? = this.containerColor,
    contentColor: RemoteColor? = this.contentColor,
    secondaryContentColor: RemoteColor? = this.secondaryContentColor,
    iconColor: RemoteColor? = this.iconColor,
    disabledContainerColor: RemoteColor? = this.disabledContainerColor,
    disabledContentColor: RemoteColor? = this.disabledContentColor,
    disabledSecondaryContentColor: RemoteColor? = this.disabledSecondaryContentColor,
    disabledIconColor: RemoteColor? = this.disabledIconColor
): RemoteButtonColors

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

Public properties

containerColor

Added in 1.0.0-alpha01
val containerColorRemoteColor

The background color of this RemoteButton when enabled (overridden by the containerPainter parameter on Buttons with image backgrounds).

contentColor

Added in 1.0.0-alpha01
val contentColorRemoteColor

The content color of this RemoteButton when enabled.

disabledContainerColor

Added in 1.0.0-alpha01
val disabledContainerColorRemoteColor

The background color of this RemoteButton when not enabled (overridden by the disabledContainerPainter parameter on Buttons with image backgrounds)

disabledContentColor

Added in 1.0.0-alpha01
val disabledContentColorRemoteColor

The content color of this RemoteButton when not enabled.

disabledIconColor

Added in 1.0.0-alpha01
val disabledIconColorRemoteColor

The content color of this RemoteButton when not enabled.

disabledSecondaryContentColor

Added in 1.0.0-alpha01
val disabledSecondaryContentColorRemoteColor

The content color of this RemoteButton when not enabled.

iconColor

Added in 1.0.0-alpha01
val iconColorRemoteColor

The content color of this RemoteButton when enabled.

secondaryContentColor

Added in 1.0.0-alpha01
val secondaryContentColorRemoteColor

The content color of this RemoteButton when enabled.