file_picker_platform_interface 3.0.1
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...
}