data class SpatialDropdownItem(val leading: () -> Unit? = null, val icon: () -> Unit? = null, val title: String? = null, val subtitle: String? = null, val enabled: Boolean = true, val suffix: () -> Unit? = null)
SpatialDropdownItem
(
leading
, icon
, title
, subtitle
, enabled
, suffix
)
|
Signature
constructor(leading: () -> Unit? = null, icon: () -> Unit? = null, title: String? = null, subtitle: String? = null, enabled: Boolean = true, suffix: () -> Unit? = null) Parameters leading: Function0?
A composable function that represents the leading icon or content of the item.
icon: Function0?
A composable function that represents the icon of the item.
title: String?
The title text of the item.
subtitle: String?
The subtitle text of the item.
enabled: Boolean
A boolean indicating whether the item is enabled or not.
suffix: Function0?
A composable function that represents the suffix of the item. Can be used to display a checkmark on selected items.
Returns SpatialDropdownItem |
enabled
: Boolean
[Get] |
Signature
val enabled: Boolean = true |
icon
: Function0?
[Get] |
Signature
val icon: () -> Unit? = null |
leading
: Function0?
[Get] |
Signature
val leading: () -> Unit? = null |
subtitle
: String?
[Get] |
Signature
val subtitle: String? = null |
suffix
: Function0?
[Get] |
Signature
val suffix: () -> Unit? = null |
title
: String?
[Get] |
Signature
val title: String? = null |