file_picker_platform_interface 3.3.0
file_picker_platform_interface: ^3.3.0 copied to clipboard
A common platform interface for the file_picker plugin, defining the shared API surface and data contracts across platforms.
3.3.0 #
- Added
PlatformFile.lengthSync(), a nullableintreturning the file's length in bytes as provided by the underlying file picker result, ornullwhen it did not report one. Named to pair with the existinglength(), the same waydart:io'sFiledoes.
3.2.0 #
- Added
FilePickerPlatform.skipEntitlementsChecks(), a no-op default hook that platform implementations can override. Letsfile_pickerdispatch through the platform interface instead of importingfile_picker_darwindirectly, which kept the facade package from being wasm compatible. - Added
DarwinOptionsandDarwinAssetRepresentationMode, letting callers request a specific asset representation (currentorcompatible) for media selected from the iOS photo library, instead of always using the system default (automatic). Restores functionality that was available before the Darwin implementation was rewritten (previously exposed as a way to disable compression), useful to avoid expensive transcoding for large HEVC, HDR, or slow-motion videos.
3.1.0 #
- Added
PlatformFile.extension, restoring the pre-12.0 convenience getter that was dropped during the federated rewrite. Returns the file extension ofnamewithout the leading dot, ornullif there is none.
3.0.1 #
- Improved package description, added example, and added missing API documentation.
3.0.0 #
- Unified platform interface release for federated
file_pickerarchitecture.
2.0.0 #
- Deprecates interface in favor of standalone
file_pickerfor all platforms.
1.3.1 #
- Removes
allowCompressionfrom interface as it should only be used fromfile_picker(Android & iOS).
1.3.0 #
- Adds
allowCompressionparameter.
1.2.0 #
- Adds
FilePickerStatus.
1.1.0 #
- Implements
getDirectoryPath().
1.0.0 #
- Implements
getFiles().
0.0.3 #
- Removes
getFilePath().
0.0.2 #
- Updates methods from File Picker interface.
0.0.1 #
- Added File Picker platform interface.