ParagraphConstraints constructor

const ParagraphConstraints(
  1. {double width}
)

Creates constraints for laying out a paragraph.

The width argument must not be null.

Implementation

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