file_picker_platform_interface 3.0.1 copy "file_picker_platform_interface: ^3.0.1" to clipboard
file_picker_platform_interface: ^3.0.1 copied to clipboard

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

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:

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

  // Implement methods...
}
4
likes
160
points
37.7k
downloads

Documentation

API reference

Publisher

verified publishermiguelruivo.com

Weekly Downloads

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

Repository (GitHub)
View/report issues
Contributing

Topics

#file-picker #platform-interface

License

MIT (license)

Dependencies

cross_file, flutter, path, plugin_platform_interface

More

Packages that depend on file_picker_platform_interface