MenuOptionItemParams
constructor(onClick: () -> Unit, title: String, titleColor: Color, style: TextStyle, leadingIcon: @Composable RowScope.() -> Unit, modifier: Modifier = Modifier, itemHeight: Dp = 56.dp, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, horizontalArrangement: Arrangement.Horizontal = Arrangement.Start)
Parameters
onClick
Action invoked when the item is clicked.
title
The title of the menu item.
titleColor
The color of the title.
style
The text style.
leadingIcon
The leading icon composable.
modifier
Modifier for styling.
itemHeight
The height of the item.
verticalAlignment
The vertical alignment.
horizontalArrangement
The horizontal arrangement.