LineMetrics constructor

LineMetrics({
  1. required bool hardBreak,
  2. required double ascent,
  3. required double descent,
  4. required double unscaledAscent,
  5. required double height,
  6. required double width,
  7. required double left,
  8. required double baseline,
  9. required int lineNumber,
})

Creates a LineMetrics object with only the specified values.

Implementation

LineMetrics({
  required this.hardBreak,
  required this.ascent,
  required this.descent,
  required this.unscaledAscent,
  required this.height,
  required this.width,
  required this.left,
  required this.baseline,
  required this.lineNumber,
});