role property

SemanticsRole get role

The role this node represents

A semantics node's role helps assistive technologies, such as screen readers, understand and interact with the UI correctly.

For a list of possible roles, see SemanticsRole.

Implementation

SemanticsRole get role => _role;