KwikDropdownItem

constructor(id: UUID = UUID.randomUUID(), text: @Composable () -> Unit, onClick: () -> Unit, enabled: Boolean = true, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, divider: Boolean = false)

Parameters

id

: The unique identifier for the item.

text

: The text to be displayed for the item.

onClick

: The callback that will be called when the item is clicked.

enabled

: A boolean indicating whether the item is enabled or not. Default is true.

leadingIcon

: A composable function that represents the leading icon for the item. Default is null.

trailingIcon

: A composable function that represents the trailing icon for the item. Default is null.

divider

: A boolean indicating whether to show a divider after the item. Default is false.