Function

semantics

Adds semantics to the node.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

semantics

Android
public fun RemoteModifier.semantics(
    mergeDescendants: Boolean = false,
    properties: SemanticsPropertyReceiver.() -> Unit,
): RemoteModifier

Adds semantics to the node.

Parameters

mergeDescendants Whether to merge the semantics of all descendants into this node.
properties A lambda to configure the semantics.