NetworkFontText constructor

NetworkFontText(
  1. String data,
  2. {Key? key,
  3. required NetworkFont font,
  4. TextStyle? style,
  5. Duration duration = const Duration(milliseconds: 540),
  6. StrutStyle? strutStyle,
  7. TextAlign? textAlign,
  8. TextDirection? textDirection,
  9. Locale? locale,
  10. bool? softWrap,
  11. TextOverflow? overflow,
  12. double? textScaleFactor,
  13. int? maxLines,
  14. String? semanticsLabel,
  15. TextWidthBasis? textWidthBasis}
)

Implementation

NetworkFontText(this.data,
    {Key? key,
    required this.font,
    this.style,
    this.duration = const Duration(milliseconds: 540),
    this.strutStyle,
    this.textAlign,
    this.textDirection,
    this.locale,
    this.softWrap,
    this.overflow,
    this.textScaleFactor,
    this.maxLines,
    this.semanticsLabel,
    this.textWidthBasis})
    : super(key: key);