rejectGesture method Null safety

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

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

Implementation

@override
void rejectGesture(int pointer) {
  assert(_gestureMap.containsKey(pointer));
  _gestureMap[pointer]!.reject();
  assert(!_gestureMap.containsKey(pointer));
}