showOpenFilePicker static method
Prompts the user to select one or more files using
window.showOpenFilePicker() (File System Access API) and returns the
resulting FileSystemOpfsWebFileHandles, suitable for withFileHandles.
See FileSystemOpfsWebShowOpenFilePickerOptions for the available
options (id, startIn, multiple, excludeAcceptAllOption,
types).
The returned handles are read-only, writing requires requesting the
readwrite permission (see requestWritePermission).
Chromium-only, must be called from a user gesture. Throws if the user cancels the picker or if the browser does not support it.
Only available on the web.
Implementation
static Future<List<FileSystemOpfsWebFileHandle>> showOpenFilePicker([
FileSystemOpfsWebShowOpenFilePickerOptions? options,
]) => fileSystemOpfsWebShowOpenFilePickerImpl(options);