iconTitle

@Composable
fun MaterialDialogScope.iconTitle(text: String? = null, @StringRes textRes: Int? = null, icon: @Composable () -> Unit = {})

Adds a title with the given text and icon to the dialog

Parameters

text

title text from a string literal

textRes

title text from a string resource

icon

optional icon displayed at the start of the title