# RemoteTextButtonColors

Artifact: [androidx.wear.compose.remote:remote-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/remote/material3/RemoteTextButton.kt+class:androidx.wear.compose.remote.material3.RemoteTextButtonColors) Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)


```
class RemoteTextButtonColors
```

<br />

*** ** * ** ***

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

See `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonDefaults#textButtonColors()` for the default colors used in a `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButton.composable#RemoteTextButton(androidx.compose.remote.creation.compose.action.RemoteAction,androidx.compose.remote.creation.compose.modifier.RemoteModifier,androidx.compose.remote.creation.compose.state.RemoteBoolean,androidx.compose.remote.creation.compose.shapes.RemoteShape,androidx.wear.compose.remote.material3.RemoteTextButtonColors,androidx.wear.compose.remote.material3.RemoteBorderStroke,kotlin.Function0)`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors#RemoteTextButtonColors(androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteColor)( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor )` |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors#copy(androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteColor,androidx.compose.remote.creation.compose.state.RemoteColor)( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor )` Returns a copy of this `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors` optionally overriding some of the values. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors#containerColor()` the background color of this text button when enabled. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors#contentColor()` the content color of this text button when enabled. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors#disabledContainerColor()` the background color of this text button when not enabled. |
| `https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors#disabledContentColor()` the content color of this text button when not enabled. |

## Public constructors

### RemoteTextButtonColors

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
RemoteTextButtonColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    disabledContainerColor: RemoteColor,
    disabledContentColor: RemoteColor
)
```

| Parameters |
|---|---|
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | the background color of this text button when enabled. |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | the content color of this text button when enabled. |
| `disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | the background color of this text button when not enabled. |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor` | the content color of this text button when not enabled. |

## Public functions

### copy

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
fun copy(
    containerColor: RemoteColor = this.containerColor,
    contentColor: RemoteColor = this.contentColor,
    disabledContainerColor: RemoteColor = this.disabledContainerColor,
    disabledContentColor: RemoteColor = this.disabledContentColor
): RemoteTextButtonColors
```

Returns a copy of this `https://developer.android.com/reference/kotlin/androidx/wear/compose/remote/material3/RemoteTextButtonColors` optionally overriding some of the values.

| Parameters |
|---|---|
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor = this.containerColor` | the background color of this text button when enabled. |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor = this.contentColor` | the content color of this text button when enabled. |
| `disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor = this.disabledContainerColor` | the background color of this text button when not enabled. |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/remote/creation/compose/state/RemoteColor = this.disabledContentColor` | the content color of this text button when not enabled. |

## Public properties

### containerColor

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
val containerColor: RemoteColor
```

the background color of this text button when enabled.

### contentColor

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
val contentColor: RemoteColor
```

the content color of this text button when enabled.

### disabledContainerColor

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
val disabledContainerColor: RemoteColor
```

the background color of this text button when not enabled.

### disabledContentColor

Added in [1.0.0-alpha15](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote#1.0.0-alpha15)

```
val disabledContentColor: RemoteColor
```

the content color of this text button when not enabled.