ListItem
A list item with content only — no leading or trailing slots.
Since
0.6.0
Parameters
Callback invoked when the list item is clicked.
Modifier to apply to the list item.
Whether the list item is enabled.
Whether the list item is currently selected.
The Style for interaction states.
Padding applied inside the list item.
Vertical alignment of the row content.
Horizontal arrangement of the row content.
Optional MutableInteractionSource for observing Interactions.
Main content of the list item.
A list item with leading, content, and trailing slots.
Since
0.6.0
Parameters
Callback invoked when the list item is clicked.
Content displayed at the start.
Content displayed at the end.
Modifier to apply to the list item.
Whether the list item is enabled.
Whether the list item is currently selected.
The Style for interaction states.
Padding applied inside the list item.
Vertical alignment of the row content.
Horizontal arrangement of the row content.
Optional MutableInteractionSource for observing Interactions.
Main content of the list item.