localPosition property Null safety

Offset localPosition

The position transformed into the event receiver's local coordinate system according to transform.

If this event has not been transformed, position is returned as-is. See also:

  • position, which is the position in the global coordinate system of the screen.


Offset get localPosition => position;