JsonRichTextBuilderModel constructor

const JsonRichTextBuilderModel(
  1. Map<String, dynamic> args, {
  2. Locale? locale,
  3. int? maxLines,
  4. TextOverflow overflow = TextOverflow.clip,
  5. Color? selectionColor,
  6. SelectionRegistrar? selectionRegistrar,
  7. bool softWrap = true,
  8. StrutStyle? strutStyle,
  9. required dynamic text,
  10. TextAlign textAlign = TextAlign.start,
  11. TextDirection? textDirection,
  12. TextHeightBehavior? textHeightBehavior,
  13. double textScaleFactor = 1.0,
  14. TextScaler textScaler = TextScaler.noScaling,
  15. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
})

Implementation

const JsonRichTextBuilderModel(
  super.args, {
  this.locale,
  this.maxLines,
  this.overflow = TextOverflow.clip,
  this.selectionColor,
  this.selectionRegistrar,
  this.softWrap = true,
  this.strutStyle,
  required this.text,
  this.textAlign = TextAlign.start,
  this.textDirection,
  this.textHeightBehavior,
  this.textScaleFactor = 1.0,
  this.textScaler = TextScaler.noScaling,
  this.textWidthBasis = TextWidthBasis.parent,
});