JsonRichTextBuilderModel constructor
const
JsonRichTextBuilderModel(
- Map<
String, dynamic> args, { - Locale? locale,
- int? maxLines,
- TextOverflow overflow = TextOverflow.clip,
- Color? selectionColor,
- SelectionRegistrar? selectionRegistrar,
- bool softWrap = true,
- StrutStyle? strutStyle,
- required dynamic text,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- double textScaleFactor = 1.0,
- TextScaler textScaler = TextScaler.noScaling,
- 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,
});