Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

FoundationSemanticsProperties

object FoundationSemanticsProperties
kotlin.Any
   ↳ androidx.compose.foundation.semantics.FoundationSemanticsProperties

Semantics properties that apply to the Compose Foundation UI elements. Used for making assertions in testing.

Summary

Properties
SemanticsPropertyKey<Boolean>

Whether this element is in a group from which only a single item can be selected at any given time (such as a radio group)

SemanticsPropertyKey<Boolean>

Whether this element is selected (out of a list of possible selections).

SemanticsPropertyKey<ToggleableState>

The state of a toggleable component.

Properties

InMutuallyExclusiveGroup

val InMutuallyExclusiveGroup: SemanticsPropertyKey<Boolean>

Whether this element is in a group from which only a single item can be selected at any given time (such as a radio group)

The presence of this property indicates that the element is a member of a selectable group (exclusive or not).

Selected

val Selected: SemanticsPropertyKey<Boolean>

Whether this element is selected (out of a list of possible selections). The presence of this property indicates that the element is selectable.

ToggleableState

val ToggleableState: SemanticsPropertyKey<ToggleableState>

The state of a toggleable component. The presence of this property indicates that the element is toggleable.