TitleContent

constructor(title: String, icon: Painter? = null)

Parameters

title

The title to be displayed.

icon

An optional icon to be displayed next to the title.