Text constructor

const Text(
  1. String data, {
  2. Key? key,
  3. TextStyle? style,
  4. bool softWrap = true,
  5. int? maxLines,
  6. TextOverflow overflow = TextOverflow.clip,
})

Implementation

const Text(
  this.data, {
  super.key,
  this.style,
  this.softWrap = true,
  this.maxLines,
  this.overflow = TextOverflow.clip,
});