icon Title
fun MaterialDialogScope.iconTitle( text: String, 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
text Res
title text from a string resource
icon
optional icon displayed at the start of the title