RemoteIconButtonColors

class RemoteIconButtonColors


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

Summary

Public constructors

RemoteIconButtonColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    disabledContainerColor: RemoteColor,
    disabledContentColor: RemoteColor
)

Public functions

RemoteIconButtonColors
copy(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    disabledContainerColor: RemoteColor?,
    disabledContentColor: RemoteColor?
)

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

Public properties

RemoteColor

the background color of this text button when enabled.

RemoteColor

the content color of this text button when enabled.

RemoteColor

the background color of this text button when not enabled.

RemoteColor

the content color of this text button when not enabled.

Public constructors

RemoteIconButtonColors

Added in 1.0.0-alpha01
RemoteIconButtonColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    disabledContainerColor: RemoteColor,
    disabledContentColor: RemoteColor
)
Parameters
containerColor: RemoteColor

the background color of this text button when enabled.

contentColor: RemoteColor

the content color of this text button when enabled.

disabledContainerColor: RemoteColor

the background color of this text button when not enabled.

disabledContentColor: RemoteColor

the content color of this text button when not enabled.

Public functions

copy

Added in 1.0.0-alpha01
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: RemoteColor? = this.containerColor

the background color of this text button when enabled.

contentColor: RemoteColor? = this.contentColor

the content color of this text button when enabled.

disabledContainerColor: RemoteColor? = this.disabledContainerColor

the background color of this text button when not enabled.

disabledContentColor: RemoteColor? = this.disabledContentColor

the content color of this text button when not enabled.

Public properties

containerColor

Added in 1.0.0-alpha01
val containerColorRemoteColor

the background color of this text button when enabled.

contentColor

Added in 1.0.0-alpha01
val contentColorRemoteColor

the content color of this text button when enabled.

disabledContainerColor

Added in 1.0.0-alpha01
val disabledContainerColorRemoteColor

the background color of this text button when not enabled.

disabledContentColor

Added in 1.0.0-alpha01
val disabledContentColorRemoteColor

the content color of this text button when not enabled.