acceptGesture method

  1. @override
void acceptGesture(
  1. int pointer
)
override

Called when this member wins the arena for the given pointer id.

Implementation

@override
void acceptGesture(int pointer) {
  assert(!_acceptedActivePointers.contains(pointer));
  _acceptedActivePointers.add(pointer);
  _activePointer = pointer;
  if (!onlyAcceptDragOnThreshold || _hasDragThresholdBeenMet) {
    _checkDrag(pointer);
  }
}