AdaptiveText constructor

const AdaptiveText(
  1. String data, {
  2. Key? key,
  3. TextStyle? style,
  4. TextAlign? textAlign,
  5. TextDirection? textDirection,
  6. bool? softWrap,
  7. TextOverflow? overflow,
  8. int? maxLines,
  9. String? semanticsLabel,
  10. bool scaleText = true,
})

Creates an adaptive text widget.

Implementation

const AdaptiveText(
  this.data, {
  super.key,
  this.style,
  this.textAlign,
  this.textDirection,
  this.softWrap,
  this.overflow,
  this.maxLines,
  this.semanticsLabel,
  this.scaleText = true,
});