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

A common platform interface for the file_picker plugin.

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, file_picker_windows, 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...
}