describeSemantics method

  1. @Deprecated('Implement computeSemanticsInformation instead. ' 'This feature was deprecated after v1.7.3.')
void describeSemantics (
  1. Accumulator offset,
  2. List<int> semanticsOffsets,
  3. List semanticsElements
)
@Deprecated('Implement computeSemanticsInformation instead. ' 'This feature was deprecated after v1.7.3.')

Populates the semanticsOffsets and semanticsElements with the appropriate data to be able to construct a SemanticsNode.

If applicable, the beginning and end text offset are added to semanticsOffsets. PlaceholderSpans have a text length of 1, which corresponds to the object replacement character (0xFFFC) that is inserted to represent it.

Any GestureRecognizers are added to semanticsElements. Null is added to semanticsElements for PlaceholderSpans.

Implementation

@Deprecated(
  'Implement computeSemanticsInformation instead. '
  'This feature was deprecated after v1.7.3.'
)
void describeSemantics(Accumulator offset, List<int> semanticsOffsets, List<dynamic> semanticsElements);