JsonRichTextBuilder constructor
const
JsonRichTextBuilder({
- Locale? locale,
- int? maxLines,
- required TextOverflow overflow,
- Color? selectionColor,
- SelectionRegistrar? selectionRegistrar,
- String? semanticsLabel,
- required bool softWrap,
- StrutStyle? strutStyle,
- required TextSpan text,
- required TextAlign textAlign,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- required double textScaleFactor,
- 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);