RenderBaselineProxy constructor
RenderBaselineProxy(
- RenderParagraph? child,
- TextStyle textStyle,
- EdgeInsets? padding
Implementation
RenderBaselineProxy(
RenderParagraph? child,
TextStyle textStyle,
EdgeInsets? padding,
) : _prototypePainter = TextPainter(
text: TextSpan(text: ' ', style: textStyle),
textDirection: TextDirection.ltr,
strutStyle: StrutStyle.fromTextStyle(textStyle, forceStrutHeight: true)),
super(child);