SectionTitle
fun SectionTitle(painter: Painter, title: String, modifier: Modifier = Modifier, menu: @Composable () -> Unit? = null)
A section title is a component that displays a title with an icon and optionally a menu.
Parameters
painter
The painter to be displayed.
title
The title of the section.
modifier
The modifier to be applied to the layout.
menu
The menu to be displayed on the right side of the title.
fun SectionTitle(icon: ImageVector, title: String, modifier: Modifier = Modifier, menu: @Composable () -> Unit? = null)
A section title is a component that displays a title with an icon and optionally a menu.
Parameters
icon
The icon to be displayed.
title
The title of the section.
modifier
The modifier to be applied to the layout.
menu
The menu to be displayed on the right side of the title.