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 for text color.

Link copied to clipboard
val titleColor: Color

Title content color, usually for text color.

Functions

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

Copies a new instance.

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