FileSelectorWindows class

An implementation of FileSelectorPlatform for Windows.

Inheritance
  • Object
  • PlatformInterface
  • FileSelectorWindows

Constructors

FileSelectorWindows()

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

getDirectoryPath({String? initialDirectory, String? confirmButtonText}) Future<String?>
Opens a file dialog for loading directories and returns a directory path.
getDirectoryPaths({String? initialDirectory, String? confirmButtonText}) Future<List<String>>
Opens a file dialog for loading directories and returns multiple directory paths.
getSaveLocation({List<XTypeGroup>? acceptedTypeGroups, SaveDialogOptions options = const SaveDialogOptions()}) Future<FileSaveLocation?>
Opens a file dialog for saving files and returns a file location at which to save.
getSavePath({List<XTypeGroup>? acceptedTypeGroups, String? initialDirectory, String? suggestedName, String? confirmButtonText}) Future<String?>
Opens a file dialog for saving files and returns a file path at which to save.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openFile({List<XTypeGroup>? acceptedTypeGroups, String? initialDirectory, String? confirmButtonText}) Future<XFile?>
Opens a file dialog for loading files and returns a file path.
openFiles({List<XTypeGroup>? acceptedTypeGroups, String? initialDirectory, String? confirmButtonText}) Future<List<XFile>>
Opens a file dialog for loading files and returns a list of file paths.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void
Registers the Windows implementation.