FluidText constructor
FluidText(
- String data, {
- required int minWidth,
- required int maxWidth,
- required double minFontSize,
- required double maxFontSize,
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
Implementation
FluidText(
super.data, {
required this.minWidth,
required this.maxWidth,
required this.minFontSize,
required this.maxFontSize,
super.key,
TextStyle? style,
super.strutStyle,
super.textAlign,
super.textDirection,
super.locale,
super.softWrap,
super.overflow,
super.textScaleFactor,
super.maxLines,
super.semanticsLabel,
super.textWidthBasis,
super.textHeightBehavior,
}) : _style = style ?? TextStyle();