JsonRichTextBuilder constructor

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

Implementation

const JsonRichTextBuilder({
  this.locale,
  this.maxLines,
  required this.overflow,
  this.selectionColor,
  this.selectionRegistrar,
  this.semanticsLabel,
  required this.softWrap,
  this.strutStyle,
  required this.text,
  required this.textAlign,
  this.textDirection,
  this.textHeightBehavior,
  required this.textScaleFactor,
  required this.textWidthBasis,
}) : super(numSupportedChildren: kNumSupportedChildren);