JsonTextBuilder constructor

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

Implementation

const JsonTextBuilder({
  this.locale,
  this.maxLines,
  this.overflow,
  this.selectionColor,
  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);