SelectListRunner<T> class

Drives a SelectListModel against a InlineTerminal, wiring keyboard input to the model and rendering updates via a BottomRegionRenderer.

Exposed for advanced use and testing; most callers should use SelectList.

Constructors

SelectListRunner({required SelectListModel<T> model, required InlineTerminal terminal, required SelectListStyle style, String? prompt})
Creates a runner for model rendered to terminal using style.

Properties

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
run() Future<void>
Runs the interaction until the user submits, cancels, or aborts.
toString() String
A string representation of this object.
inherited

Operators

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