position property
The current location of the pointer along the x-axis.
Implementation
double get position => _position;
Sets values from an active SwipeInfo
owhen the pointer is down and its
location changes.
Implementation
set position(double value) {
_lastPosition = _position;
_position = value;
}