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