AdaptiveText constructor
const
AdaptiveText(
- String data, {
- Key? key,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- TextOverflow? overflow,
- int? maxLines,
- String? semanticsLabel,
- 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,
});