# path_provider_platform_interface 2.1.1

A common platform interface for the path_provider plugin.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'path_provider_platform_interface:2.1.1'
```
Published: 2023-08-30T15:01:35.466838Z
Expected archive SHA-256: 94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- platform: ^3.0.0
- plugin_platform_interface: ^2.1.0

## Package README (untrusted upstream documentation)
# path_provider_platform_interface

A common platform interface for the [`path_provider`][1] plugin.

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

# Usage

To implement a new platform-specific implementation of `path_provider`, extend
[`PathProviderPlatform`][2] with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
`PathProviderPlatform` by calling
`PathProviderPlatform.instance = MyPlatformPathProvider()`.

# 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.

[1]: ../
[2]: lib/path_provider_platform_interface.dart

## Changelog
## 2.1.1

* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

## 2.1.0

* Adds getApplicationCachePath() for storing app-specific cache files.
* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
* Aligns Dart and Flutter SDK constraints.

## 2.0.6

* Updates links for the merge of flutter/plugins into flutter/packages.
* Updates minimum Flutter version to 3.0.

## 2.0.5

* Updates imports for `prefer_relative_imports`.
* Updates minimum Flutter version to 2.10.

## 2.0.4

* Minor fixes for new analysis options.
* Removes unnecessary imports.

## 2.0.3

* Removes dependency on `meta`.

## 2.0.2

* Update to use the `verify` method introduced in plugin_platform_interface 2.1.0.

## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.

## 1.0.5

* Update Flutter SDK constraint.

## 1.0.4

* Remove unused `test` dependency.

## 1.0.3

* Increase upper range of `package:platform` constraint to allow 3.X versions.

## 1.0.2

* Update lower bound of dart dependency to 2.1.0.

## 1.0.1

* Rename enum to StorageDirectory for backwards compatibility.

## 1.0.0

* Initial release.







 
