void layout(ParagraphConstraints constraints)

Computes the size and position of each glyph in the paragraph.

The ParagraphConstraints control how wide the text is allowed to be.

Source

void layout(ParagraphConstraints constraints) => _layout(constraints.width);