TextPainterHelper class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offset?
-
no setter
- painter → TextPainter?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPositionForOffset(
Offset offset) → TextPosition -
method for
OverFlowTextSpan
-
getSpanForPosition(
TextPosition position) → InlineSpan? -
method for
OverFlowTextSpan
-
layout(
TextPainter painter, TextSpan textSpan, {bool compareChildren = true}) → TextPainter? -
method for
OverFlowTextSpan
and BackgroundTextSpan -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveOffset(
Offset offset) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited