pub repository
mirror.p-hatan.compath_provider_linux
2.2.2Linux implementation of the path_provider plugin
Cached in Iran · Upstream SHA-256 matched
Readme
path_provider_linux
The linux implementation of path_provider.
Usage
This package is endorsed, which means you can simply use path_provider
normally. This package will be automatically included in your app when you do,
so you do not need to add it to your pubspec.yaml.
However, if you import this package to use any of its APIs directly, you
should add it to your pubspec.yaml as usual.
Changelog
2.2.2
- Fixes getApplicationId() behavior on Linux when GLib development packages are not installed.
- Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
2.2.1
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
2.2.0
- Adds getApplicationCachePath() for storing app-specific cache files.
2.1.11
- Removes obsolete null checks on non-nullable values.
- Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
2.1.10
- Clarifies explanation of endorsement in README.
- Aligns Dart and Flutter SDK constraints.
2.1.9
- Updates links for the merge of flutter/plugins into flutter/packages.
2.1.8
- Adds compatibility with
xdg_directories1.0. - Updates minimum Flutter version to 3.0.
2.1.7
- Bumps ffi dependency to match path_provider_windows.
2.1.6
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
2.1.5
- Removes dependency on
meta.
2.1.4
- Fixes
getApplicationSupportPathhandling of applications where the application ID is not set.
2.1.3
- Change getApplicationSupportPath from using executable name to application ID (if provided).
- If the executable name based directory exists, continue to use that so existing applications continue with the same behaviour.
2.1.2
- Fixes link in README.
2.1.1
- Removed obsolete
pluginClass: nonefrom pubpsec.
2.1.0
- Now
getTemporaryPathreturns the value of theTMPDIRenvironment variable primarily. IfTMPDIRis not set,/tmpis returned.
2.0.2
- Updated installation instructions in README.
2.0.1
- Add
implementsto pubspec.yaml. - Add
registerWithmethod to the main Dart class.
2.0.0
- Migrate to null safety.
0.1.1+3
- Update Flutter SDK constraint.
0.1.1+2
- Log errors in the example when calls to the
path_providerfail.
0.1.1+1
- Check in linux/ directory for example/
0.1.1 - NOT PUBLISHED
- Reverts changes on 0.1.0, which broke the tree.
0.1.0 - NOT PUBLISHED
- This release updates getApplicationSupportPath to use the application ID instead of the executable name.
- No migration is provided, so any older apps that were using this path will now have a different directory.
0.0.1+2
- This release updates the example to depend on the endorsed plugin rather than relative path
0.0.1+1
- This updates the readme and pubspec and example to reflect the endorsement of this implementation of
path_provider
0.0.1
- The initial implementation of path_provider for Linux
- Implements getApplicationSupportPath, getApplicationDocumentsPath, getDownloadsPath, and getTemporaryPath
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add path_provider_linuxpubspec.yaml
name: path_provider_linux
description: Linux implementation of the path_provider plugin
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.2.2
environment:
sdk: ^3.10.0
flutter: ">=3.38.0"
flutter:
plugin:
implements: path_provider
platforms:
linux:
dartPluginClass: PathProviderLinux
dependencies:
ffi: ">=1.1.2 <3.0.0"
flutter:
sdk: flutter
path: ^1.8.0
path_provider_platform_interface: ^2.1.0
xdg_directories: ">=0.2.0 <2.0.0"
dev_dependencies:
flutter_test:
sdk: flutter
topics:
- files
- path-provider
- paths
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.0.1 | 2020-05-21T18:43:24.039801Z | Cached | 6552aaac7f3ca228c28c76d7be66b185b2eb49b3f8604c812cb0dea5b65e2089 |
| 0.0.1+1 | 2020-06-02T19:50:53.207915Z | Cached | b9d28d930abb3cea4156e6fe3e0aa1f7683b2f022a4d8f9c8579ebcf49ddac9f |
| 0.0.1+2 | 2020-06-30T23:02:29.848989Z | Cached | 739b008776d4377ef8945db2d6f42d17ad7a280f0d0cdf961de26a69ea3964e5 |
| 0.2.0-nullsafety | 2021-02-04T00:11:28.816333Z | Cached | 7bd0a063e327fe2dd0264952c1dfe6736b0bc222a2f63c06908badced25ebf98 |
| 2.0.0 | 2021-02-20T00:49:20.835727Z | Cached | 938d2b6591587bcb009d2109a6ea464fd8fb2a75dc6423171b0d0afb1d27c708 |
| 2.0.2 | 2021-07-27T22:15:30.040287Z | Cached | f8d4b3ba360fb5d3517b1dcbb8695d242a8ab4cf6483b46b961c2257da948c93 |
| 2.1.0 | 2021-09-14T20:38:49.143435Z | Cached | 96af2381b8db7cfd5986cf2d7eb737f0099f0517ffc7e10b979d20eb38e64939 |
| 2.1.1 | 2021-11-10T20:34:00.294315Z | Cached | 85b6f96f81d9fbfb04cfca5c894c1500ead05736ddb96b56eb44d46fa38aac35 |
| 2.1.2 | 2021-11-15T21:06:47.801055Z | Cached | 368c48aec7d1eee5412145ebda483e0ae646f7bcfc11366e13898e359ec0593f |
| 2.1.3 | 2021-12-10T11:14:01.855482Z | Cached | cf3b2c3438d8b10e02934343da390cd2ebc153f2a69d94339fc8c8afb6272f51 |
| 2.1.4 | 2021-12-10T21:03:37.524604Z | Cached | e46142796f3f4a8b921443b18e77299317af710dabba4a466cf84039742e9be1 |
| 2.1.5 | 2022-01-10T19:22:14.025699Z | Cached | 1e109f4df28bd95eab71e323008b53d19c4d633bc1ab05b577518773474e9621 |
| 2.1.6 | 2022-05-10T19:38:20.047333Z | Cached | 367b9311fe9ce1421215bcc37dce9bde57b6640c7b790cee1974c2b0a691e074 |
| 2.1.7 | 2022-05-28T20:20:59.056987Z | Cached | ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379 |
| 2.1.8 | 2023-02-10T21:23:19.567024Z | Cached | 2e32f1640f07caef0d3cb993680f181c79e54a3827b997d5ee221490d131fbd9 |
| 2.1.9 | 2023-02-22T20:35:28.831979Z | Cached | 525ad5e07622d19447ad740b1ed5070031f7a5437f44355ae915ff56e986429a |
| 2.1.10 | 2023-03-08T18:25:18.518188Z | Cached | 2ae08f2216225427e64ad224a24354221c2c7907e448e6e0e8b57b1eb9f10ad1 |
| 2.1.11 | 2023-05-22T21:05:46.788704Z | Cached | ffbb8cc9ed2c9ec0e4b7a541e56fd79b138e8f47d2fb86815f15358a349b3b57 |
| 2.2.0 | 2023-08-03T07:16:35.509128Z | Cached | ba2b77f0c52a33db09fc8caf85b12df691bf28d983e84cf87ff6d693cfa007b3 |
| 2.2.1 | 2023-08-30T14:59:22.063065Z | Cached | f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 |
| 2.2.2 | 2026-06-24T13:45:05.533595Z | Cached | 58c2005f147315b11e9b4a7bc889cd5203e250cba8e3f012dae259b4972b5c16 |
Dependencies
ffi "\u003e=1.1.2 \u003c3.0.0"
flutter {
"sdk": "flutter"
}
path "^1.8.0"
path_provider_platform_interface "^2.1.0"
xdg_directories "\u003e=0.2.0 \u003c2.0.0"