MenuItemColors

@Stable
class MenuItemColors

Represents the container and content colors used in a list item in different states.

  • See DefaultColor for the default colors used in a MenuItem.

Properties

Link copied to clipboard
val containerColor: Color

for background shape color

Link copied to clipboard
val subtitleColor: Color

subtitle content color, usually is for text color

Link copied to clipboard
val titleColor: Color

title content color, usually is for text color

Functions

Link copied to clipboard
fun copy(containerColor: Color = this.containerColor, titleColor: Color = this.titleColor, subtitleColor: Color = this.subtitleColor): MenuItemColors

copy a new instance

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