textRun property

TextRun? textRun
getter/setter pair

A TextElement representing a run of text where all of the characters in the run have the same TextStyle.

The start_index and end_index of TextRuns will always be fully contained in the index range of a single paragraph_marker TextElement. In other words, a TextRun will never span multiple paragraphs.

Implementation

TextRun? textRun;