position property

double position

The current location of the pointer along the x-axis.

Implementation

double get position => _position;
void position= (double value)

Sets values from an active SwipeInfo owhen the pointer is down and its location changes.

Implementation

set position(double value) {
  _lastPosition = _position;
  _position = value;
}