file_selector_platform_interface 2.6.2 copy "file_selector_platform_interface: ^2.6.2" to clipboard
file_selector_platform_interface: ^2.6.2 copied to clipboard

A common platform interface for the file_selector plugin.

file_selector_platform_interface #

A common platform interface for the file_selector plugin.

This interface allows platform-specific implementations of the file_selector plugin, as well as the plugin itself, to ensure they are supporting the same interface.

Usage #

To implement a new platform-specific implementation of file_selector, extend FileSelectorPlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default FileSelectorPlatform by calling FileSelectorPlatform.instance = MyPlatformFileSelector().

Note on breaking changes #

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.

3
likes
140
points
1.82M
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

2024.10.08 - 2025.04.22

A common platform interface for the file_selector plugin.

Repository (GitHub)
View/report issues
Contributing

Topics

#files #file-selection #file-selector

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cross_file, flutter, http, plugin_platform_interface

More

Packages that depend on file_selector_platform_interface