paragraph property

Paragraph? paragraph

Getter for the _paragraph variable.

Returns the ui.Paragraph instance that contains the text and its styling information. The ui.Paragraph instance is created by the _invalidateBuilder method when the text or its style is updated. The _layout method then lays out the text in the paragraph, updating its size.

Returns null if the paragraph is invalid or not created yet.

Implementation

ui.Paragraph? get paragraph {
  return _paragraph;
}