CommonListItem
Common list item with title display
Displays a selectable list item with a title text. Provides consistent styling and behavior across the application for simple text-based list items.
Parameters
Text to display in the list item
Whether the item is currently selected
Callback invoked when the item is selected (null for non-selectable)
Whether the item is enabled for interaction
Modifier to apply to the item
Common list item with title and optional leading content
Displays a selectable list item with title text and optional leading content. The leading content appears before the title text, useful for icons or other decorative elements.
Parameters
Text to display in the list item
Whether the item is currently selected
Callback invoked when the item is selected (null for non-selectable)
Modifier to apply to the item
Whether the item is enabled for interaction
Optional composable content to display before the title
Common list item with custom content
The base list item component that other variants use internally. Provides consistent styling and selection behavior with fully customizable content.
Parameters
Whether the item is currently selected
Callback invoked when the item is selected (null for non-selectable)
Modifier to apply to the item
Whether the item is enabled for interaction
Composable content to display within the list item