deviceEndPosition property
Event end position in the coordinate space of the device -- either the phone, or the browser window, or the app.
If the game runs in a full-screen mode, then this would be equal to the
canvasEndPosition
. Otherwise, the deviceEndPosition
is the
Flutter-level global position.
Implementation
final Vector2 deviceEndPosition;