textContent property
String
textContent
Implementation
String get textContent =>
(text ?? '') +
(children == null
? ''
: children!
.map((c) => c is TextSpan ? c.textContent : 'widget')
.join(''));