RenderBidiParagraph constructor

RenderBidiParagraph(
  1. InlineSpan text, {
  2. bool bidiEnabled = true,
  3. List<InlineCodeRun> inlineCodeRuns = const <InlineCodeRun>[],
  4. List<InlineTapRun> inlineTapRuns = const <InlineTapRun>[],
  5. TextAlign textAlign = TextAlign.start,
  6. required TextDirection textDirection,
  7. bool softWrap = true,
  8. TextOverflow overflow = TextOverflow.clip,
  9. TextScaler textScaler = const _UnspecifiedTextScaler(),
  10. int? maxLines,
  11. Locale? locale,
  12. StrutStyle? strutStyle,
  13. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  14. TextHeightBehavior? textHeightBehavior,
  15. List<RenderBox>? children,
  16. SelectionRegistrar? registrar,
  17. Color? selectionColor,
})

Implementation

RenderBidiParagraph(
  super.text, {
  this._bidiEnabled = true,
  List<InlineCodeRun> inlineCodeRuns = const <InlineCodeRun>[],
  List<InlineTapRun> inlineTapRuns = const <InlineTapRun>[],
  super.textAlign,
  required super.textDirection,
  super.softWrap,
  super.overflow,
  super.textScaler,
  super.maxLines,
  super.locale,
  super.strutStyle,
  super.textWidthBasis,
  super.textHeightBehavior,
  super.children,
  super.registrar,
  super.selectionColor,
}) {
  this.inlineCodeRuns = inlineCodeRuns;
  this.inlineTapRuns = inlineTapRuns;
}