TextNode constructor

TextNode(
  1. Text widget
)

Creates a new instance of TextNode.

Implementation

TextNode(super.widget) : super(element: html.SpanElement());