List with dividers
Surface(tonalElevation = 2.dp) {
Column {
ListItem(
headlineContent = { Text("Account") },
supportingContent = { Text("Manage your profile") },
leadingContent = { Icon(Icons.Filled.AccountCircle, null) }
)
HorizontalDivider()
ListItem(
headlineContent = { Text("Settings") },
supportingContent = { Text("Theme and notifications") },
leadingContent = { Icon(Icons.Filled.Settings, null) }
)
}
}