makeRich method

Text makeRich()

Implementation

Text makeRich() {
  if (_textSpan == null) return const Text('');
  return Text.rich(
    _textSpan!.make(),
    style: _style,
    strutStyle: _strutStyle,
    textAlign: _textAlign,
    textDirection: _textDirection,
    locale: _locale,
    softWrap: _softWrap,
    textScaler: _textScaler,
    maxLines: _maxLines,
    semanticsLabel: _semanticsLabel,
    textWidthBasis: _textWidthBasis,
    textHeightBehavior: _textHeightBehavior,
    selectionColor: _selectionColor,
  );
}