SaveFileDialogParams class

Parameters for the saveFile method.

Constructors

SaveFileDialogParams({String? sourceFilePath, Uint8List? data, String? fileName, List<String>? mimeTypesFilter, bool localOnly = false})
Create parameters for the saveFile method.
const

Properties

data Uint8List?
File data. Provide either sourceFilePath or data.
final
fileName String?
The suggested file name to use when saving the file. Required if data is provided.
final
hashCode int
The hash code for this object.
no setterinherited
localOnly bool
Access files in local device only (Android)?
final
mimeTypesFilter List<String>?
MIME types filter (Android only) Only files with the provided MIME types will be shown in the file picker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceFilePath String?
Path of the file to save. Provide either sourceFilePath or data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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