DialogMenuDetail

class DialogMenuDetail(val key: String, val title: String, val icon: Painter? = null, val tint: Color = Color.Unspecified)

Represents a detail of a single menu item in the dialog.

Since

1.0.0-beta.1

Constructors

Link copied to clipboard
constructor(key: String, title: String, icon: Painter? = null, tint: Color = Color.Unspecified)

Properties

Link copied to clipboard
val icon: Painter? = null

The icon of the item. Defaults to null.

Link copied to clipboard
val key: String

The key of the item.

Link copied to clipboard
val tint: Color

The tint color of the icon. Defaults to Color.Unspecified.

Link copied to clipboard

The title of the item.

Functions

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