FileSelectorWindows class Null safety

An implementation of FileSelectorPlatform for Windows.

Inheritance

Constructors

FileSelectorWindows()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

getDirectoryPath({String? initialDirectory, String? confirmButtonText}) Future<String?>
Opens a file dialog for loading directories and returns a directory path. Returns null if user cancels the operation.
override
getDirectoryPaths({String? initialDirectory, String? confirmButtonText}) Future<List<String>>
Opens a file dialog for loading directories and returns multiple directory paths.
inherited
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. Returns null if user cancels the operation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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. Returns null if user cancels the operation.
override
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.
override
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.