FloatingToolbarColors
Represents the container and content colors used in a the various floating toolbars.
Summary
Public constructors |
|
|---|---|
FloatingToolbarColors( |
Cmn
|
Public functions |
||
|---|---|---|
FloatingToolbarColors |
copy(Returns a copy of this IconToggleButtonColors, optionally overriding some of the values. |
Cmn
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
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”
Public properties
fabContainerColor
val fabContainerColor: Color
the container color for an adjacent floating action button.
toolbarContainerColor
val toolbarContainerColor: Color
the container color for the floating toolbar.