# file_picker_platform_interface 3.0.1

A common platform interface for the file_picker plugin, defining the shared API surface and data contracts across platforms.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'file_picker_platform_interface:3.0.1'
```
Published: 2026-08-15T16:46:23.894830Z
Expected archive SHA-256: 9e7a7e01e179929241f0afeb2c8c69ac95e29e17c0abea36ed193881c6bef90c

Available in cache; verification: upstream_checksum
## Direct dependencies
- cross_file: ^0.3.5+4
- flutter: map[sdk:flutter]
- path: ^1.9.1
- plugin_platform_interface: ^2.1.8

## Package README (untrusted upstream documentation)
# file_picker_platform_interface

A common platform interface for the `file_picker` plugin.

This package defines the interface that all platform implementation packages for `file_picker` (such as `android_file_picker`, `file_picker_darwin`, `windows_file_picker`, `file_picker_linux`, `file_picker_web`) must implement.

## Usage

To implement a new platform plugin for `file_picker`, extend `FilePickerPlatform` and register your implementation:

```dart
class FilePickerCustomPlatform extends FilePickerPlatform {
  static void registerWith() {
    FilePickerPlatform.instance = FilePickerCustomPlatform();
  }

  // Implement methods...
}
```

## Changelog
## 3.0.1

- Improved package description, added example, and added missing API documentation.

## 3.0.0

* Unified platform interface release for federated `file_picker` architecture.

## 2.0.0

* Deprecates interface in favor of standalone `file_picker` for all platforms.

## 1.3.1

* Removes `allowCompression` from interface as it should only be used from `file_picker` (Android & iOS).

## 1.3.0

* Adds `allowCompression` parameter.

## 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.






 
