onSelect property
Called with the chosen file when the user presses Enter or Right on a file row, or clicks it. Directories open in place instead; links and other non-file entries do nothing.
Implementation
final void Function(FileEntry file) onSelect;