widget method
Implementation
widget(context) => RichText(
key: key,
text: text.value,
textAlign: textAlign ?? TextAlign.start,
textDirection: textDirection,
softWrap: softWrap ?? true,
overflow: overflow ?? TextOverflow.clip,
textScaleFactor: textScaleFactor ?? 1.0,
maxLines: maxLines,
locale: locale,
strutStyle: strutStyle?.value,
textWidthBasis: textWidthBasis ?? TextWidthBasis.parent,
textHeightBehavior: textHeightBehavior,
);