ParagraphConstraints constructor

ParagraphConstraints({double width })

Creates constraints for laying out a pargraph.

The width argument must not be null.

Implementation

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