appendString method

TextSpan appendString(
  1. String? text
)

Implementation

TextSpan appendString(String? text) {
  if (text == null) return this;
  return TextSpan(children: [this, TextSpan(text: text, style: style)]);
}