ClixDirectoryPicker class final
A directory browser using Clix line input rather than raw arrow keys.
Choose the current directory, its parent, or a sorted child directory.
Returns the chosen absolute directory path, or null on a blank answer.
Constructors
- ClixDirectoryPicker({required String prompt, Directory? startDirectory})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- prompt → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDirectory → Directory
-
The initial location; defaults to the process's current directory.
final
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