text property

Text get text

Returns a Text widget with this string as the text.

Implementation

Text get text => Text(this);