Text.fromSpan constructor

Text.fromSpan(
  1. Span span
)

Creates a new text widget from a Span.

Implementation

factory Text.fromSpan(Span span) = _SpanText;