Creates a paragraph of rich text.
The text, softWrap, and overflow arguments must not be null.
Source
RichText({
Key key,
@required this.text,
this.textAlign,
this.softWrap: true,
this.overflow: TextOverflow.clip,
this.textScaleFactor: 1.0
}) : super(key: key) {
assert(text != null);
assert(softWrap != null);
assert(overflow != null);
assert(textScaleFactor != null);
}