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