words property

Iterable<string> get words

Gets or sets all words in the text. this includes the splitters.

when setting the value, your list need to include the splitters, otherswise the text will be joined without spaces or breaklines.

Implementation

Iterable<string> get words => value.words;
set words (Iterable<String> value)

Implementation

set words(Iterable<String> value) => text = value.join();