TextMeasureHelper class
文案高度测量辅助类
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
buildWidgetSpanPlaceHolder(
InlineSpan span, {List< PlaceholderDimensions> ? values}) → List<PlaceholderDimensions> ? - 查找span中WidgetSpan的数量
-
computeWidgetSpanWidth(
InlineSpan? span, {double? width}) → double? -
measure(
{required InlineSpan span, required double minWidth, required double maxWidth, TextAlign textAlign = TextAlign.start, TextDirection textDirection = TextDirection.ltr, double textScaleFactor = 1.0, required int maxLines, int widgetSpanCount = 0, bool bFindWidgetSpanCount = false}) → TextPainter