RenderBaselineProxy constructor

RenderBaselineProxy(
  1. RenderParagraph? child,
  2. TextStyle textStyle,
  3. 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);