FloatingToolbarColors


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

Summary

Public constructors

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

Public functions

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

Returns a copy of this IconToggleButtonColors, optionally overriding some of the values.

Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Color

the container color for an adjacent floating action button.

Cmn
Color

the content color for an adjacent floating action button

Cmn
Color

the container color for the floating toolbar.

Cmn
Color

the content color for the floating toolbar

Cmn

Public constructors

FloatingToolbarColors

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

the container color for the floating toolbar.

toolbarContentColor: Color

the content color for the floating toolbar

fabContainerColor: Color

the container color for an adjacent floating action button.

fabContentColor: Color

the content color for an adjacent floating action button

Public functions

copy

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

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

hashCode

open fun hashCode(): Int

Public properties

fabContainerColor

val fabContainerColorColor

the container color for an adjacent floating action button.

fabContentColor

val fabContentColorColor

the content color for an adjacent floating action button

toolbarContainerColor

val toolbarContainerColorColor

the container color for the floating toolbar.

toolbarContentColor

val toolbarContentColorColor

the content color for the floating toolbar