ParagraphConstraints constructor

const ParagraphConstraints({double width })

Creates constraints for laying out a paragraph.

The width argument must not be null.

Implementation

const ParagraphConstraints({
  this.width,
}) : assert(width != null);