Text.fromLine constructor

Text.fromLine(
  1. Line line
)

Creates a new text widget from a Line.

Implementation

factory Text.fromLine(Line line) = _LineText;