FilePickerMacOS class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearTemporaryFiles()
→ Future<bool?>
-
Asks the underlying platform to remove any temporary files created by this plugin.
inherited
-
escapeDialogTitle(String dialogTitle)
→ String
-
-
fileTypeToFileFilter(FileType type, List<String>? allowedExtensions)
→ String
-
-
generateCommandLineArguments(String dialogTitle, {String fileFilter = '', String fileName = '', String initialDirectory = '', bool multipleFiles = false, bool pickDirectory = false, bool saveFile = false})
→ List<String>
-
-
getDirectoryPath({String? dialogTitle, bool lockParentWindow = false, String? initialDirectory})
→ Future<String?>
-
Selects a directory and returns its absolute path.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pickFiles({String? dialogTitle, String? initialDirectory, FileType type = FileType.any, List<String>? allowedExtensions, dynamic onFileLoading(FilePickerStatus)?, bool allowCompression = true, int compressionQuality = 30, bool allowMultiple = false, bool withData = false, bool withReadStream = false, bool lockParentWindow = false, bool readSequential = false})
→ Future<FilePickerResult?>
-
Retrieves the file(s) from the underlying platform
override
-
resultStringToFilePaths(String fileSelectionResult)
→ List<String>
-
Transforms the result string (stdout) of
osascript
into a List of
POSIX file paths.
-
saveFile({String? dialogTitle, String? fileName, String? initialDirectory, FileType type = FileType.any, List<String>? allowedExtensions, Uint8List? bytes, bool lockParentWindow = false})
→ Future<String?>
-
Opens a save file dialog which lets the user select a file path and a file
name to save a file.
override
-
toString()
→ String
-
A string representation of this object.
inherited