TitleContent

class TitleContent(val title: String, val icon: Painter? = null)

Represents the title content of a ContentCard consisting of a title and an optional icon.

Parameters

title

The title to be displayed.

icon

An optional icon to be displayed next to the title.

Constructors

Link copied to clipboard
constructor(title: String, icon: Painter? = null)

Properties

Link copied to clipboard
val icon: Painter? = null
Link copied to clipboard