WindowFileSystemAccess extension
- on
Methods
-
showDirectoryPicker(
{String? id, dynamic startIn, PermissionMode mode = PermissionMode.read}) → Future< FileSystemDirectoryHandle> -
Available on Window, provided by the WindowFileSystemAccess extension
Shows a directory picker which allows the user to select a directory. The user has to interact with the page or a UI element in order for this feature to work. -
showOpenFilePicker(
{bool multiple = false, List< FilePickerAcceptType> types = const [], bool excludeAcceptAllOption = false, String? id, dynamic startIn}) → Future<List< FileSystemFileHandle> > -
Available on Window, provided by the WindowFileSystemAccess extension
Shows a file picker that allows a user to select a file or multiple files and returns a handle for the file(s). The user has to interact with the page or a UI element in order for this feature to work. -
showSaveFilePicker(
{String? suggestedName, List< FilePickerAcceptType> types = const [], bool excludeAcceptAllOption = false, String? id, dynamic startIn}) → Future<FileSystemFileHandle> -
Available on Window, provided by the WindowFileSystemAccess extension
Shows a file picker that allows a user to save a file. Either by selecting an existing file, or entering a name for a new file. The user has to interact with the page or a UI element in order for this feature to work.