BackNavigation class
Sentinel exception used by every wizard prompt to signal that the user asked to step backward to the previous question. Wizards catch it and re-run the previous step instead of advancing.
Recognized triggers (work in both interact and simple-prompt fallback
modes):
- Typing
back,b,<,:back(case-insensitive) into a text prompt - Selecting the appended
← Backoption from any menu/yes-no/theme prompt
True ESC / Backspace key support is added on top via WizardNav.askKey
for confirm-only navigation hints. The interact package gobbles ESC
inside its own Select/Confirm/Input widgets and does not expose a
hook for handling them, so the keyword/menu fallback is what actually
makes "go back" work end-to-end.
- Implemented types
Constructors
-
const
Properties
- fromStep → String?
-
Optional human-readable name of the step the user chose to leave; used
only for log messages so the wizard can print "↩ Going back to ..."
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited