getPositionForOffset abstract method

TextPosition getPositionForOffset(
  1. Offset offset
)

Returns the text position closest to the given offset.

Implementation

TextPosition getPositionForOffset(Offset offset);