deviceStartPosition property

Vector2 deviceStartPosition
finalinherited

Event start 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 canvasStartPosition. Otherwise, the deviceStartPosition is the Flutter-level global position.

Implementation

final Vector2 deviceStartPosition;