onAccepted method

  1. @protected
void onAccepted()

Implementation

@protected
void onAccepted() {
  onAcceptedCalled = true;

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