computeSemanticsInformation method

  1. @override
void computeSemanticsInformation(
  1. List<InlineSpanSemanticsInformation> collector, {
  2. Locale? inheritedLocale,
  3. bool inheritedSpellOut = false,
})
override

Walks the InlineSpan tree and accumulates a list of InlineSpanSemanticsInformation objects.

This method should not be directly called. Use getSemanticsInformation instead.

PlaceholderSpans in the tree will be represented with a InlineSpanSemanticsInformation.placeholder value.

Implementation

@override
void computeSemanticsInformation(
  List<InlineSpanSemanticsInformation> collector, {
  ui.Locale? inheritedLocale,
  bool inheritedSpellOut = false,
}) {
  return _textSpan.computeSemanticsInformation(
    collector,
    inheritedLocale: inheritedLocale,
    inheritedSpellOut: inheritedSpellOut,
  );
}