p-hatan/ mirror

pub repository

mirror.p-hatan.com

path_provider_platform_interface

2.1.3

A common platform interface for the path_provider plugin.

Cached in Iran · Upstream SHA-256 matched

Download archive

Readme

path_provider_platform_interface

A common platform interface for the path_provider 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 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.

Changelog

2.1.3

  • Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
  • Documents the implementation contract for null versus UnsupportedError return semantics on getDownloadsPath.

2.1.2

  • Updates minimum required plugin_platform_interface version to 2.1.7.
  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

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.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add path_provider_platform_interface
pubspec.yaml
name: path_provider_platform_interface
description: A common platform interface for the path_provider plugin.
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.1.3

environment:
  sdk: ^3.10.0
  flutter: ">=3.38.0"

dependencies:
  flutter:
    sdk: flutter
  platform: ^3.0.0
  plugin_platform_interface: ^2.1.7

dev_dependencies:
  flutter_test:
    sdk: flutter

topics:
  - files
  - path-provider
  - paths

Version history

VersionPublishedArchiveSHA-256
1.0.02020-02-26T19:02:08.640071ZCached1c91cf3b3ff5c212415f4961c39a3c6703eaeba6d924b8c3eba256960fc12c39
1.0.12020-02-28T18:41:38.185222ZCached6756134898dc3f274cfef6093c08a1f84fe26dfaed78cf826fc89fe94ef12520
1.0.22020-05-12T16:57:29.482560ZCachedf034a281145343268e0469af7ae61fedb182c862e06acab7a476f9e378f113d3
1.0.32020-08-18T15:44:25.111811ZCached573cd8a8d78d5e5d693607494b2d80f68b8aa0167de0b9e01a5ca1585c8a2bd6
1.0.42020-11-03T22:55:30.385754ZCachede06b2d369e0eb863cf0c4876d0fb6943846876f7e51b2752059a5c6b05bf5354
2.0.0-nullsafety2021-01-12T21:22:28.997412ZCached93519ed799484f6261e6e58b703dd892b057b49340ebbb33b9700b28a50a6558
2.0.02021-02-19T20:43:49.366340ZCached2e14fc474b8acfc4111ac8eb0e37c2fe70234f9f8cd796f1560d03aa1689fa51
2.0.12021-03-02T20:28:55.976057ZCachedc2af5a8a6369992d915f8933dfc23172071001359d17896e83db8be57db8a397
2.0.22022-01-07T01:29:44.738551ZCachedc32516959b0d8fc62c148e45ed135633c71859b8fadd9cabc5a6a85eb67ace9e
2.0.32022-01-10T19:22:50.729278ZCached3dc0d51b07f85fec3746d9f4e8d31c73bb173cafa2e763f03f8df2e8d1878882
2.0.42022-05-11T17:30:20.894526ZCached27dc7a224fcd07444cb5e0e60423ccacea3e13cf00fc5282ac2c918132da931d
2.0.52022-09-28T15:16:44.776447ZCachedf0abc8ebd7253741f05488b4813d936b4d07c6bae3e86148a09e342ee4b08e76
2.0.62023-02-22T20:35:42.887467ZCached57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec
2.1.02023-07-31T18:35:47.345099ZCachedbced5679c7df11190e1ddc35f3222c858f328fff85c3942e46e7f5589bf9eb84
2.1.12023-08-30T15:01:35.466838ZCached94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c
2.1.22024-01-09T02:36:07.418460ZCached88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334
2.1.32026-06-15T13:51:13.010437ZCached484838772624c3a4b94f1e44a3e19897fee738f2d5c4ce448443b0417f7c9dda

Dependencies

flutter { "sdk": "flutter" }

platform "^3.0.0"

plugin_platform_interface "^2.1.7"