Top Bar Action Icon
fun TopBarActionIcon(icon: ImageVector, tint: Color = Color.Unspecified, contentDescription: String = "", onClick: () -> Unit)
A composable function that renders an action icon within the TopBar.
Parameters
icon
The ImageVector representing the icon to be displayed.
tint
The tint color for the icon. Default is Color.Unspecified.
content Description
A description of the icon for accessibility purposes.
on Click
The callback to be invoked when the icon is clicked.