getPositionBelow method
Returns the position within the text which is on the line below the given
position
.
The position
parameter must be relative to the node
content.
Primarily used with multi-line or soft-wrapping text.
Can return null
which indicates that the position
is at the bottommost
line in the text already.
Implementation
@override
TextPosition? getPositionBelow(TextPosition position) {
return _getPosition(position, 1.5);
}