# FloatingToolbarColors

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/FloatingToolbar.kt+class:androidx.compose.material3.FloatingToolbarColors) Common/AllAndroid/JVM
- Cmn

  ```
  class FloatingToolbarColors
  ```

*** ** * ** ***

Represents the container and content colors used in the various floating toolbars.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#FloatingToolbarColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( toolbarContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, toolbarContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, fabContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, fabContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( toolbarContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, toolbarContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, fabContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, fabContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Returns a copy of this IconToggleButtonColors, optionally overriding some of the values. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#fabContainerColor()` the container color for an adjacent floating action button. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#fabContentColor()` the content color for an adjacent floating action button | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#toolbarContainerColor()` the container color for the floating toolbar. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/FloatingToolbarColors#toolbarContentColor()` the content color for the floating toolbar | Cmn |

## Public constructors

### FloatingToolbarColors

Cmn

```
FloatingToolbarColors(
    toolbarContainerColor: Color,
    toolbarContentColor: Color,
    fabContainerColor: Color,
    fabContentColor: Color
)
```

| Parameters |
|---|---|
| `toolbarContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color for the floating toolbar. |
| `toolbarContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the content color for the floating toolbar |
| `fabContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color for an adjacent floating action button. |
| `fabContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the content color for an adjacent floating action button |

## Public functions

### copy

Cmn

```
fun copy(
    toolbarContainerColor: Color = this.toolbarContainerColor,
    toolbarContentColor: Color = this.toolbarContentColor,
    fabContainerColor: Color = this.fabContainerColor,
    fabContentColor: Color = this.fabContentColor
): FloatingToolbarColors
```

Returns a copy of this IconToggleButtonColors, optionally overriding some of the values. This uses the Color.Unspecified to mean "use the value from the source"

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

## Public properties

### fabContainerColor

Cmn

```
val fabContainerColor: Color
```

the container color for an adjacent floating action button.

### fabContentColor

Cmn

```
val fabContentColor: Color
```

the content color for an adjacent floating action button

### toolbarContainerColor

Cmn

```
val toolbarContainerColor: Color
```

the container color for the floating toolbar.

### toolbarContentColor

Cmn

```
val toolbarContentColor: Color
```

the content color for the floating toolbar