BasicListItem
fun BasicListItem(text: String, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, textColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, supportingText: String? = null, supportingTextColor: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, enabled: Boolean = true, leadingIcon: ERROR CLASS: Symbol not found for ImageVector?? = null, leadingIconTint: ERROR CLASS: Symbol not found for Color = LocalContentColor.current, trailingContent: () -> Unit? = null, onClick: () -> Unit? = null, onLongClick: () -> Unit? = null)(source)
The foundational list item. It supports a leadingIcon (optional), headline text and supportingText (optional), and a trailingContent composable (optional).
This is a core component that should facilitate most list item use cases. Please carefully consider if modifying this is really necessary before doing so.
See also
LinkedCoordinatesItem
for example usage