FileDialog class

Implemented types

Constructors

FileDialog.borrowed(int nativeHandle)
Wraps a handle owned elsewhere; releasing it stays the owner's job.
FileDialog.fromHandle(int nativeHandle)
Adopts a handle returned by the C API and releases it when this object becomes unreachable.

Properties

hashCode → int
The hash code for this object.
no setterinherited
lastError → String?
no setter
modality ↔ DialogModality
getter/setter pair
nativeHandle → int
The underlying handle-table entry.
final
paths → List<String>
no setter
result → FileDialogResult
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → bool
dispose() → void
Releases the handle now instead of at collection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() → bool
setFileTypes(List<String> extensions) → bool
setParentWindow(Window? window) → bool
setSuggestedFileName(String name) → bool
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

create(FileDialogMode mode) → FileDialog?
Creates a new FileDialog; returns null if the native side failed.
isSupported() → bool