getPositionForOffset abstract method
- Offset offset
Returns the text position closest to the given offset.
Implementation
TextPosition getPositionForOffset(Offset offset);
Returns the text position closest to the given offset.
TextPosition getPositionForOffset(Offset offset);