layout method

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.

Implementation

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