Text(String data, { Key key, TextStyle style, TextAlign textAlign, bool softWrap, TextOverflow overflow, double textScaleFactor })

Creates a text widget.

If the style argument is null, the text will use the style from the closest enclosing DefaultTextStyle.

Source

Text(this.data, {
  Key key,
  this.style,
  this.textAlign,
  this.softWrap,
  this.overflow,
  this.textScaleFactor
}) : super(key: key) {
  assert(data != null);
}