TextMeasurement class

A measurement result for rendering text.

Constructors

TextMeasurement({required double horizontalSliceWidth, required double verticalSliceWidth, double? baseline})

Properties

baseline → double?
Baseline of the text for text vertical alignment.
final
hashCode → int
The hash code for this object.
no setterinherited
horizontalSliceWidth → double
Rendered width of the text.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verticalSliceWidth → double
Vertical slice is likely based off the rendered text.
final

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