KeymapPendingSequence class final

Live multi-key sequence state (which-key input).

Constructors

KeymapPendingSequence({required String surfaceId, required List<String> matchedKeys, required List<String> matchedLabels, required List<ShortcutBinding> candidates})
const

Properties

candidates → List<ShortcutBinding>
Bindings still possible given matchedKeys.
final
continuations → List<ShortcutContinuation>
Continuation steps for which-key (next key only).
no setter
hashCode → int
The hash code for this object.
no setterinherited
matchedKeys → List<String>
Key specs matched so far (e.g. ['ctrl+x']).
final
matchedLabels → List<String>
Display labels for matched steps.
final
matchedPath → String
Full matched path as a single string.
no setter
prefixLabel → String
Compact prefix label (first matched step).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
surfaceId → String
Surface that owns this pending sequence.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited