ToolbarPopupColors

class ToolbarPopupColors(val backgroundColor: Color = Color.Unspecified)

Color scheme for toolbar popup menus.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color = Color.Unspecified)

Properties

Link copied to clipboard

Background color of the popup menu; surfaceContainer by default.

Functions

Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor): ToolbarPopupColors

Returns a copy with the given color replaced.

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

Two ToolbarPopupColors are equal when all their colors are.

Link copied to clipboard
open override fun hashCode(): Int

A hash of all the colors, consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every color, by property name.