onAccepted method
void
onAccepted()
If the gesture could be rejected and is eventually accepted, please call the corresponding function.
Implementation
void onAccepted() {
assert(_isRejectable, 'The gesture has already been defined as accepted.');
_isRejectable = false;
_spreadAnimation.notifyListeners();
_spreadAnimation.notifyStatusListeners(_spreadAnimation.status);
}