FloatingToolbarColors

@Immutable
class FloatingToolbarColors(val toolbarContainerColor: Color, val toolbarContentColor: Color, val fabContainerColor: Color, val fabContentColor: Color)

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

Parameters

toolbarContainerColor

the container color for the floating toolbar.

toolbarContentColor

the content color for the floating toolbar

fabContainerColor

the container color for an adjacent floating action button.

fabContentColor

the content color for an adjacent floating action button

Constructors

Link copied to clipboard
constructor(toolbarContainerColor: Color, toolbarContentColor: Color, fabContainerColor: Color, fabContentColor: Color)

Properties

Link copied to clipboard
Link copied to clipboard
val fabContentColor: Color
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
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”

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int