cancel method Null safety

  1. @override
void cancel()
override

The input from the pointer is no longer directed towards this receiver.

For example, the user might have been interrupted by a system-modal dialog in the middle of the drag.

Implementation

@override
void cancel() {
  delegate.goBallistic(0.0);
}