Text constructor

const Text(
  1. String text
)

Creates a plain text node with text.

Implementation

const Text(super.text);