rejectGesture method
Called when this recognizer loses the arena.
Implementation
@override
void rejectGesture() {
if (state == GestureRecognizerState.possible) {
addCmd(onTapCancel?.call());
}
state = GestureRecognizerState.defunct;
}
Called when this recognizer loses the arena.
@override
void rejectGesture() {
if (state == GestureRecognizerState.possible) {
addCmd(onTapCancel?.call());
}
state = GestureRecognizerState.defunct;
}