RenderTextBox constructor

RenderTextBox(
  1. dynamic data, {
  2. required CSSRenderStyle renderStyle,
})

Implementation

RenderTextBox(data, {
  required this.renderStyle,
}) : _data = data {
  TextSpan text = CSSTextMixin.createTextSpan(_data, renderStyle);
  _renderParagraph = child = KrakenRenderParagraph(
    text,
    textDirection: TextDirection.ltr,
  );
}