LineMetrics constructor
- {bool hardBreak,
- double ascent,
- double descent,
- double unscaledAscent,
- double height,
- double width,
- double left,
- double baseline,
- int lineNumber}
Creates a LineMetrics object with only the specified values.
Omitted values will remain null. Paragraph.computeLineMetrics produces fully defined LineMetrics with no null values.
Implementation
LineMetrics({
this.hardBreak,
this.ascent,
this.descent,
this.unscaledAscent,
this.height,
this.width,
this.left,
this.baseline,
this.lineNumber,
});