span property
TextSpan
get
span
What the label draws: text in style, with each run of super- and subscripts (symbolRuns) in a child span styled symbolRunStyle. A label without such a run is a single span.
Implementation
TextSpan get span {
final runs = _symbolRunSpans();
return runs == null
? TextSpan(text: text, style: style)
: TextSpan(style: style, children: runs);
}