iconTitle
fun MaterialDialogScope.iconTitle( text: String? = null, @StringRes textRes: Int? = null, color: Color = MaterialTheme.colors.onSurface, style: TextStyle = MaterialTheme.typography.h6, icon: @Composable () -> Unit = {})
Content copied to clipboard
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