getPositionForOffset abstract method
Returns the position within the text for the given pixel offset.
Valid only after layout
.
Implementation
TextPosition getPositionForOffset(Offset offset);
Returns the position within the text for the given pixel offset.
Valid only after layout
.
TextPosition getPositionForOffset(Offset offset);