TestTagNode

class TestTagNode : SubspaceModifier.Node, SubspaceSemanticsModifierNode


Summary

Public constructors

Public functions

open Unit

Adds semantics key/value pairs to the layout node, for use in testing, accessibility, etc.

Public properties

String

Public constructors

TestTagNode

Added in 1.0.0-alpha01
TestTagNode(tag: String)

Public functions

applySemantics

open fun SemanticsPropertyReceiver.applySemantics(): Unit

Adds semantics key/value pairs to the layout node, for use in testing, accessibility, etc.

The SemanticsPropertyReceiver provides "key = value"-style setters for any SemanticsPropertyKey. Also, chaining multiple semantics modifiers is supported.

Public properties

tag

Added in 1.0.0-alpha01
var tagString