Widget build({TextAlign textAlign = TextAlign.left}) { return Text.rich( TextSpan(children: spans), softWrap: true, textAlign: textAlign, ); }