item

abstract fun item(key: Any, contentType: Any? = null, selectable: Boolean = true, content: @Composable SelectableLazyItemScope.() -> Unit)

Represents an item in a selectable lazy list.

Parameters

key

The unique identifier for the item.

contentType

The type of content displayed in the item.

selectable

Determines if the item is selectable. Default is true.

content

The content of the item as a composable function.