path_provider_platform_interface
v2.1.2A common platform interface for the path_provider plugin.
Архив пакета: https://pubdev.letsnova.ru/api/archives/path_provider_platform_interface/2.1.2.tar.gz
dart pub add path_provider_platform_interfaceREADME
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.
История изменений
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
verifymethod 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
testdependency.
1.0.3
- Increase upper range of
package:platformconstraint 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.
