RenderParagraphProxy constructor
RenderParagraphProxy(
- RenderParagraph? child,
- TextStyle textStyle,
- TextAlign textAlign,
- TextDirection textDirection,
- double textScaleFactor,
- StrutStyle strutStyle,
- Locale locale,
- TextWidthBasis textWidthBasis,
- 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);