Expand description
File picker widget for browsing and selecting files.
Provides a TUI file browser with keyboard navigation. The widget renders a directory listing with cursor selection and supports entering subdirectories and navigating back to parents.
§Architecture
FilePicker— stateless configuration and renderingFilePickerState— mutable navigation state (cursor, directory, entries)DirEntry— a single file/directory entry
The widget uses StatefulWidget so the application owns the state
and can read the selected path.
Structs§
- DirEntry
- A single entry in a directory listing.
- File
Picker - Configuration and rendering for the file picker widget.
- File
Picker State - Mutable state for the file picker.