getPositionInOffset abstract method

Position? getPositionInOffset(
  1. Offset offset
)

Returns the Position closest to the offset.

Returns null if there is no nodes are selected.

offset must be under the global coordinate system.

Implementation

Position? getPositionInOffset(Offset offset);