resetPending method

void resetPending()

Cancel pending sequences on every surface.

Implementation

void resetPending() {
  var any = false;
  for (final s in _stack) {
    if (s.isSequencePending) any = true;
    s.reset();
  }
  if (any) onPendingChanged?.call();
}