onRejected method

  1. @protected
void onRejected()

Implementation

@protected
void onRejected() {
  onRejectedCalled = true;

  assert(rejectableState != null, 'If the state is rejectable, the touch ripple state must be defined.');
  if (rejectableState != null) onRejectedCallBack?.call(rejectableState!);
}