API reference

SpatialChoiceListDialogItem Class

Represents an item in a spatial choice list dialog.

Signature

data class SpatialChoiceListDialogItem(
    val leading: () -> Unit,
    val title: String,
    val subtitle: String,
    val enabled: Boolean = true,
)

Constructors

SpatialChoiceListDialogItem ( leading , title , subtitle , enabled )
Signature
constructor(leading: () -> Unit, title: String, subtitle: String, enabled: Boolean = true)
Parameters
leading: () -> Unit  A composable function that provides the leading content for the item.
title: String  The title text of the item.
subtitle: String  The subtitle text of the item.
enabled: Boolean  Indicates whether the item is enabled or not. Defaults to true.
Returns
SpatialChoiceListDialogItem

Properties

enabled : Boolean
[Get]
Signature
val enabled: Boolean = true
leading : () -> Unit
[Get]
Signature
val leading: () -> Unit
subtitle : String
[Get]
Signature
val subtitle: String
title : String
[Get]
Signature
val title: String