Text constructor

const Text(
  1. String text, {
  2. TextStyle? style,
  3. TextAlign? textAlign,
  4. TextDirection? textDirection,
  5. int? maxLines,
  6. bool softWrap = true,
  7. TextOverflow overflow = TextOverflow.clip,
})

Text API.

Implementation

const Text(
  this.text, {
  this.style,
  this.textAlign,
  this.textDirection,
  this.maxLines,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
});