androidx.compose.material3
FloatingToolbarColorsSince 1.10
Class
No hand-written docs yet.
Represents the container and content colors used in the various floating toolbars.
class FloatingToolbarColors(
toolbarContainerColor: Color,
toolbarContentColor: Color,
fabContainerColor: Color,
fabContentColor: Color,
)
How to get one
Create it
FloatingToolbarColors(toolbarContainerColor, toolbarContentColor, fabContainerColor, fabContentColor)constructor
Ready-made values and functions that return it
Used by
Parameters that take a FloatingToolbarColors.
Properties
toolbarContainerColor
val toolbarContainerColor: Color
toolbarContentColor
val toolbarContentColor: Color
fabContainerColor
val fabContainerColor: Color
fabContentColor
val fabContentColor: Color
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”
Library docs
Represents the container and content colors used in the various floating toolbars.