ClixSelector class final
A numbered Clix selector that keeps input in the terminal's line mode.
Text filters all choices case-insensitively; a number selects an entry from
the displayed list. A blank line or an empty choice list returns null.
Constructors
-
ClixSelector({required String prompt, required List<
String> options})
Properties
Methods
-
interact(
[CliIO? io, CliTheme? theme]) → Future< String?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
CliIO io, CliTheme theme) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited