Viewing version 0.0.3. Open the latest package page.

file_picker_platform_interface

0.0.3

A common platform interface for the file_picker plugin

Download archive

Readme

file_picker_platform_interface

A common platform interface for the file_picker plugin.

This interface allows platform-specific implementations of the file_picker 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_picker, extend FilePickerPlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default FilePickerPlatform by calling FilePickerPlatform.instance = MyPlatformFilePicker().

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.

Changelog

[0.0.3] - Updates interface

Removes getFilePath()

[0.0.2] - Updates interface

Updates methods from File Picker interface

[0.0.1+1] - Update README

Updates README

[0.0.1] - Create Platform Interface

Added Filer Picker platform interface.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'file_picker_platform_interface:0.0.3'
pubspec.yaml
name: file_picker_platform_interface
description: A common platform interface for the file_picker plugin
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker/file_picker_platform_interface
version: 0.0.3

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  plugin_platform_interface: ^1.0.1 

dev_dependencies:
  flutter_test:
    sdk: flutter

Version history

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownload36693dad…826808
0.0.1+1Cached · Upstream SHA-256 matchedDownloadc1fe6630…0af199
0.0.2Cached · Upstream SHA-256 matchedDownload90dd6269…46fd22
0.0.3Cached · Upstream SHA-256 matchedDownload4e9f9473…5f9506
1.0.0Cached · Upstream SHA-256 matchedDownload1ebbcf61…0913d5
1.1.0Cached · Upstream SHA-256 matchedDownload946955a1…b4c937
1.2.0Cached · Upstream SHA-256 matchedDownloadff068bf7…e59ecb
1.3.0Cached · Upstream SHA-256 matchedDownload00fd05bc…37203e
1.3.1Cached · Upstream SHA-256 matchedDownloadfdd0f666…2abf0e
2.0.0Cached · Upstream SHA-256 matchedDownload70593271…538566
3.0.0Cached · Upstream SHA-256 matchedDownloadbfa1bfc6…2f94f4
3.0.1Cached · Upstream SHA-256 matchedDownload9e7a7e01…bef90c
3.1.0Cached · Upstream SHA-256 matchedDownloadb1ddd790…4c86bd
3.2.0Cached · Upstream SHA-256 matchedDownload11ef1b5c…916fc1
3.3.0Cached · Upstream SHA-256 matchedDownloadd35d8cb6…e5afd8
3.4.0Cached · Upstream SHA-256 matchedDownload0355558f…d0e9ca
4.0.0Cached · Upstream SHA-256 matchedDownloadbbdc085a…107ba5
4.1.0Cached · Upstream SHA-256 matchedDownloada78bd8ec…de7160
4.2.0Cached · Upstream SHA-256 matchedDownload336e7168…97cf20

Dependencies

flutter { "sdk": "flutter" }

plugin_platform_interface "^1.0.1"