TextPainterHelper class Null safety

Constructors

TextPainterHelper()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
offset Offset?
read-only
painter TextPainter?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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