Function

semantics

Adds semantics to the node.

semantics

Source set: JvmAndAndroid
public fun RemoteModifier.semantics(
    mergeDescendants: Boolean = false,
    properties: RemoteSemanticsPropertyReceiver.() -> 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.

Return

a RemoteModifier that configures semantics using properties

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: