JsonTextBuilder constructor

JsonTextBuilder({
  1. Locale? locale,
  2. int? maxLines,
  3. TextOverflow? overflow,
  4. String? semanticsLabel,
  5. bool? softWrap,
  6. StrutStyle? strutStyle,
  7. TextStyle? style,
  8. String? text,
  9. TextAlign? textAlign,
  10. TextDirection? textDirection,
  11. TextHeightBehavior? textHeightBehavior,
  12. double? textScaleFactor,
  13. TextWidthBasis? textWidthBasis,
})

Implementation

JsonTextBuilder({
  this.locale,
  this.maxLines,
  this.overflow,
  this.semanticsLabel,
  this.softWrap,
  this.strutStyle,
  this.style,
  String? text,
  this.textAlign,
  this.textDirection,
  this.textHeightBehavior,
  this.textScaleFactor,
  this.textWidthBasis,
})  : text = text ?? '',
      super(numSupportedChildren: kNumSupportedChildren);