RenderParagraphProxy constructor

RenderParagraphProxy(
  1. RenderParagraph? child,
  2. TextStyle textStyle,
  3. TextAlign textAlign,
  4. TextDirection textDirection,
  5. double textScaleFactor,
  6. StrutStyle strutStyle,
  7. Locale locale,
  8. TextWidthBasis textWidthBasis,
  9. TextHeightBehavior? textHeightBehavior,
)

Implementation

RenderParagraphProxy(
  RenderParagraph? child,
  TextStyle textStyle,
  TextAlign textAlign,
  TextDirection textDirection,
  double textScaleFactor,
  StrutStyle strutStyle,
  Locale locale,
  TextWidthBasis textWidthBasis,
  TextHeightBehavior? textHeightBehavior,
)   : _prototypePainter = TextPainter(
          text: TextSpan(text: ' ', style: textStyle),
          textAlign: textAlign,
          textDirection: textDirection,
          textScaleFactor: textScaleFactor,
          strutStyle: strutStyle,
          locale: locale,
          textWidthBasis: textWidthBasis,
          textHeightBehavior: textHeightBehavior),
      super(child);