globalDistanceMoved property

double get globalDistanceMoved

Distance moved in the global coordinate space of the screen in drag direction.

If drag is only allowed along a defined axis, this value may be negative to differentiate the direction of the drag.

Implementation

double get globalDistanceMoved => _globalDistanceMoved;