addText method

void addText (String text)

Adds the given text to the paragraph.

The text will be styled according to the current stack of text styles.

Implementation

void addText(String text) {
  final String error = _addText(text);
  if (error != null)
    throw new ArgumentError(error);
}