buildTextSpan static method

TextSpan buildTextSpan(
  1. List<TextSpan> textSpans
)

Implementation

static TextSpan buildTextSpan(List<TextSpan> textSpans) => TextSpan(
    text: textSpans.first.text,
    style: textSpans.first.style,
    semanticsLabel: textSpans.first.semanticsLabel,
    recognizer: textSpans.first.recognizer,
    children:
        textSpans.length > 1 ? textSpans.sublist(1, textSpans.length) : null);