Function

hasSetTextAction

Returns whether the node defines a semantics action to set text on it.

hasSetTextAction

Source set: Common
public fun hasSetTextAction(): SemanticsMatcher

Returns whether the node defines a semantics action to set text on it.

This can be used to, for instance, filter out text fields.

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: