Upgrading file_picker 3 to 4
Unknown3.0.4 → 4.6.1
Fetching 30 releases from GitHub…0 / 30
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
method FilePickerWeb.pickFiles({ FileType type = …, List<String>? allowedExtensions, bool allowMultiple = …, Function(FilePickerStatus)? onFileLoading, bool? allowCompression, bool? withData = …, bool? withReadStream = …, }): Future<FilePickerResult?> → method FilePickerWeb.pickFiles({ String? dialogTitle, String? initialDirectory, FileType type = …, List<String>? allowedExtensions, bool allowMultiple = …, Function(FilePickerStatus)? onFileLoading, bool allowCompression = …, bool withData = …, bool withReadStream = …, bool lockParentWindow = …, }): Future<FilePickerResult?>
- removed:
field PlatformFile.path: final String? - changed:
ctor PlatformFile({ required this.name, required this.size, this.path, this.bytes, this.readStream, }) → ctor PlatformFile({ String? path, required this.name, required this.size, this.bytes, this.readStream, this.identifier, }) - changed:
ctor PlatformFile.fromMap(Map data, {this.readStream}) → ctor PlatformFile.fromMap(Map data, {Stream<List<int>>? readStream}) - changed:
method FilePicker.getDirectoryPath(): Future<String?> → method FilePicker.getDirectoryPath({ String? dialogTitle, bool lockParentWindow = …, String? initialDirectory, }): Future<String?> - changed:
method FilePicker.pickFiles({ FileType type = …, List<String>? allowedExtensions, Function(FilePickerStatus)? onFileLoading, bool allowCompression = …, bool allowMultiple = …, bool withData = …, bool withReadStream = …, }): Future<FilePickerResult?> → method FilePicker.pickFiles({ String? dialogTitle, String? initialDirectory, FileType type = …, List<String>? allowedExtensions, Function(FilePickerStatus)? onFileLoading, bool allowCompression = …, bool allowMultiple = …, bool withData = …, bool withReadStream = …, bool lockParentWindow = …, }): Future<FilePickerResult?> - added:
field PlatformFile.identifier: final String? - added:
get FilePickerResult.hashCode: int - added:
get PlatformFile.hashCode: int - added:
get PlatformFile.path: String? - added:
method FilePicker.saveFile({ String? dialogTitle, String? fileName, String? initialDirectory, FileType type = …, List<String>? allowedExtensions, bool lockParentWindow = …, }): Future<String?> - added:
method FilePickerResult.operator ==(Object other): bool - added:
method FilePickerResult.toString(): String - added:
method PlatformFile.operator ==(Object other): bool - added:
method PlatformFile.toString(): String - added:
variable defaultDialogTitle: const String