pending property

KeymapPendingSequence? get pending

Pending multi-key sequence on the top surface (or any surface).

Prefers the topmost surface that has pending state.

Implementation

KeymapPendingSequence? get pending {
  for (var i = _stack.length - 1; i >= 0; i--) {
    final p = _stack[i].pending;
    if (p != null) return p;
  }
  return null;
}