ConfirmKeyMap class

Key bindings for the confirm component.

Implemented types

Constructors

ConfirmKeyMap({KeyBinding? yes, KeyBinding? no, KeyBinding? confirm, KeyBinding? cancel, KeyBinding? toggleLeft, KeyBinding? toggleRight})

Properties

cancel KeyBinding
Cancel the confirmation.
final
confirm KeyBinding
Confirm current selection with Enter.
final
hashCode int
The hash code for this object.
no setterinherited
no KeyBinding
Deny with 'n'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toggleLeft KeyBinding
Toggle selection left (to Yes).
final
toggleRight KeyBinding
Toggle selection right (to No).
final
yes KeyBinding
Confirm with 'y'.
final

Methods

fullHelp() List<List<KeyBinding>>
Returns bindings for the full help view, grouped by columns.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shortHelp() List<KeyBinding>
Returns bindings for the short help view.
override
toString() String
A string representation of this object.
inherited

Operators

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