LineMetrics class

Wrapper class for flutter's LineMetrics class

Constructors

LineMetrics({required double ascent, required double descent, required double baseline, required double height})
Creates a new LineMetrics object.
LineMetrics.empty()
factory

Properties

ascent double
The distance from the top of the line to the baseline.
final
baseline double
The y-coordinate of the baseline, relative to the top of the line.
final
descent double
The distance from the baseline to the bottom of the line.
final
hashCode int
The hash code for this object.
no setterinherited
height double
The total height of the line.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited