Viewing version 2.1.7. Open the latest package page.

path_provider_windows

2.1.7

Windows implementation of the path_provider plugin

Download archive

Readme

path_provider_windows

The Windows 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.1.7

  • Adds compatibility with win32 5.x.
  • Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.

2.1.6

  • Adds compatibility with win32 4.x.

2.1.5

  • Clarifies explanation of endorsement in README.
  • Aligns Dart and Flutter SDK constraints.

2.1.4

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

2.1.3

  • Updates minimum Flutter version to 2.10.
  • Adds compatibility with package:win32 3.x.

2.1.2

  • Fixes avoid_redundant_argument_values lint warnings and minor typos.

2.1.1

  • Updates dependency version of package:win32 to 2.1.0.

2.1.0

  • Upgrades package:ffi dependency to 2.0.0.
  • Added support for unicode encoded VERSIONINFO.
  • Minor fixes for new analysis options.

2.0.6

  • Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.

2.0.5

  • Removes dependency on meta.

2.0.4

  • Removed obsolete pluginClass: none from pubpsec.

2.0.3

  • Updated installation instructions in README.

2.0.2

  • Add implements to pubspec.yaml.
  • Add registerWith() to the Dart main class.

2.0.1

  • Fix a crash when a known folder can't be located.

2.0.0

  • Migrate to null safety

0.0.4+4

  • Update Flutter SDK constraint.

0.0.4+3

  • Remove unused test dependency.
  • Update Dart SDK constraint in example.

0.0.4+2

  • Check in windows/ directory for example/

0.0.4+1

  • Add getPath to the stub, so that the analyzer won't complain about fakes that override it.
  • export 'folders.dart' rather than importing it, since it's intended to be public.

0.0.4

  • Move the actual implementation behind a conditional import, exporting a stub for platforms that don't support FFI. Fixes web builds in projects with transitive dependencies on path_provider.

0.0.3

  • Add missing pluginClass: none for compatibilty with stable channel.

0.0.2

  • README update for endorsement.
  • Changed getApplicationSupportPath location.
  • Removed getLibraryPath.

0.0.1+2

  • The initial implementation of path_provider for Windows
    • Implements getTemporaryPath, getApplicationSupportPath, getLibraryPath, getApplicationDocumentsPath and getDownloadsPath.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'path_provider_windows:2.1.7'
pubspec.yaml
name: path_provider_windows
description: Windows implementation of the path_provider plugin
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.1.7

environment:
  sdk: ">=2.18.0 <4.0.0"
  flutter: ">=3.3.0"

flutter:
  plugin:
    implements: path_provider
    platforms:
      windows:
        dartPluginClass: PathProviderWindows

dependencies:
  ffi: ^2.0.0
  flutter:
    sdk: flutter
  path: ^1.8.0
  path_provider_platform_interface: ^2.0.0
  win32: ">=2.1.0 <6.0.0"

dev_dependencies:
  flutter_test:
    sdk: flutter

Version history

VersionPublishedArchiveSHA-256
0.0.1Cached · Upstream SHA-256 matchedDownload3381316d…756c58
0.0.1+1Cached · Upstream SHA-256 matchedDownloadd4823e6a…f36f0a
0.0.1+2Cached · Upstream SHA-256 matchedDownloadb8601c9b…d4194a
0.0.2Cached · Upstream SHA-256 matchedDownloada04d1d9a…d5d822
0.0.3Cached · Upstream SHA-256 matchedDownloaddde3d0ca…1f3d0b
0.0.4Cached · Upstream SHA-256 matchedDownloadad649cb6…7c59f5
0.0.4+1Cached · Upstream SHA-256 matchedDownload3f668181…c69873
0.0.4+3Cached · Upstream SHA-256 matchedDownloadaa4e3149…7834cb
0.0.5Cached · Upstream SHA-256 matchedDownload16dfc776…338d54
0.1.0-nullsafetyCached · Upstream SHA-256 matchedDownload7aae21e9…cc7c16
0.1.0-nullsafety.1Cached · Upstream SHA-256 matchedDownload6673e7a7…fdd975
0.1.0-nullsafety.2Cached · Upstream SHA-256 matchedDownload4f5d1615…b5d347
0.1.0-nullsafety.3Cached · Upstream SHA-256 matchedDownload7b38b4cc…449332
2.0.0Cached · Upstream SHA-256 matchedDownloadecd4d04c…a781ef
2.0.1Cached · Upstream SHA-256 matchedDownload99bb2d00…80045a
2.0.3Cached · Upstream SHA-256 matchedDownload067e20d6…9da511
2.0.4Cached · Upstream SHA-256 matchedDownload74056f33…672abf
2.0.5Cached · Upstream SHA-256 matchedDownload366ad4e3…7eeb27
2.0.6Cached · Upstream SHA-256 matchedDownload62dbb1bc…2efcdd
2.0.7Cached · Upstream SHA-256 matchedDownloada34ecd7f…116905
2.1.0Cached · Upstream SHA-256 matchedDownload999d3dc2…0c7d74
2.1.1Cached · Upstream SHA-256 matchedDownload4fedda0f…85d931
2.1.2Cached · Upstream SHA-256 matchedDownload1cc550ec…e6034b
2.1.3Cached · Upstream SHA-256 matchedDownloadbcabbe39…c2b45c
2.1.4Cached · Upstream SHA-256 matchedDownload642ddf65…a3632d
2.1.5Cached · Upstream SHA-256 matchedDownloadf5372049…51b130
2.1.6Cached · Upstream SHA-256 matchedDownloadd3f80b32…0c69d6
2.1.7Cached · Upstream SHA-256 matchedDownload1cb68ba4…b6ee96
2.2.0Cached · Upstream SHA-256 matchedDownloadee0e0d16…b705da
2.2.1Cached · Upstream SHA-256 matchedDownload8bc9f22e…ad8170
2.3.0Cached · Upstream SHA-256 matchedDownloadbd6f00db…81afe7

Dependencies

ffi "^2.0.0"

flutter { "sdk": "flutter" }

path "^1.8.0"

path_provider_platform_interface "^2.0.0"

win32 "\u003e=2.1.0 \u003c6.0.0"