sortKey property

SemanticsSortKey sortKey

Sets the SemanticsNode.sortKey to the given value.

This defines how this node is sorted among the sibling semantics nodes to determine the order in which they are traversed by the accessibility services on the platform (e.g. VoiceOver on iOS and TalkBack on Android).

Implementation

SemanticsSortKey get sortKey => _sortKey;
void sortKey= (SemanticsSortKey value)

Implementation

set sortKey(SemanticsSortKey value) {
  if (sortKey == value)
    return;
  _sortKey = value;
  markNeedsSemanticsUpdate();
}