acceptGesture method
Called when this member wins the arena for the given pointer id.
Implementation
@override
void acceptGesture(int pointer) {
if (_state != _SwipeState.accepted) {
_state = _SwipeState.accepted;
final OffsetPair? delta = _pendingDragOffset;
if (dragStartBehavior == DragStartBehavior.start) {
_initialPosition = _initialPosition + delta!;
}
_pendingDragOffset = OffsetPair.zero;
}
}