getRich method
A method to get a rich text widget from an inline span.
Implementation
Text getRich(InlineSpan span) {
return Text.rich(
span,
textDirection: textDirection,
textScaler: textScaler,
textAlign: textAlign,
maxLines: maxLines,
overflow: overflow,
);
}