Viewing version 0.0.4+6. Open the latest package page.

path_provider_macos

0.0.4+6

macOS implementation of the path_provider plugin

This package is discontinued upstream.

Download archive

Readme

path_provider_macos

The macos implementation of [path_provider].

Please set your constraint to path_provider_macos: '>=0.0.y+x <2.0.0'

Backward compatible 1.0.0 version is coming

The plugin has reached a stable API, we guarantee that version 1.0.0 will be backward compatible with 0.0.y+z. Please use path_provider_macos: '>=0.0.y+x <2.0.0' as your dependency constraint to allow a smoother ecosystem migration. For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0

Usage

Import the package

To use this plugin in your Flutter macos app, simply add it as a dependency in your pubspec.yaml alongside the base path_provider plugin.

(This is only temporary: in the future we hope to make this package an "endorsed" implementation of path_provider, so that it is automatically included in your Flutter macos app when you depend on package:path_provider.)

This is what the above means to your pubspec.yaml:

...
dependencies:
  ...
  path_provider: ^1.5.1
  path_provider_macos: ^0.0.1
  ...

Use the plugin

Once you have the path_provider_macos dependency in your pubspec, you should be able to use package:path_provider as normal.

Changelog

0.0.4+6

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

0.0.4+5

  • Update license header.

0.0.4+4

  • Remove no-op android folder in the example app.

0.0.4+3

  • Remove Android folder from path_provider_macos.

0.0.4+2

0.0.4+1

  • Fix CocoaPods podspec lint warnings.

0.0.4

  • Adds an example app to run integration tests.

0.0.3+1

  • Make the pedantic dev_dependency explicit.

0.0.3

  • Added support for user's downloads directory.

0.0.2+1

  • Update README.

0.0.1

  • Initial open source release.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'path_provider_macos:0.0.4+6'
pubspec.yaml
name: path_provider_macos
description: macOS implementation of the path_provider plugin
# 0.0.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 0.0.4+6
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos

flutter:
  plugin:
    platforms:
      macos:
        pluginClass: PathProviderPlugin

environment:
  sdk: ">=2.1.0 <3.0.0"
  flutter: ">=1.10.0 <2.0.0"

dependencies:
  flutter:
    sdk: flutter

dev_dependencies:
  pedantic: ^1.8.0

Version history

VersionPublishedArchiveSHA-256
0.0.2Cached · Upstream SHA-256 matchedDownloadce2adfa5…8ef9ed
0.0.2+1Cached · Upstream SHA-256 matchedDownloada0749e65…bc770f
0.0.3Cached · Upstream SHA-256 matchedDownloadb2e9fff6…618ab5
0.0.3+1Cached · Upstream SHA-256 matchedDownload9af900f3…6ab775
0.0.4Cached · Upstream SHA-256 matchedDownloadcd592bec…d40fd9
0.0.4+1Cached · Upstream SHA-256 matchedDownload42d8890b…b5f8e4
0.0.4+2Cached · Upstream SHA-256 matchedDownloadd5535383…ecee4e
0.0.4+3Cached · Upstream SHA-256 matchedDownload9e31c233…47cfec
0.0.4+4Cached · Upstream SHA-256 matchedDownload6caeb0ab…3e2765
0.0.4+6Cached · Upstream SHA-256 matchedDownload03624402…2fe1ac
0.0.4+8Cached · Upstream SHA-256 matchedDownload4dd2f608…c3c119
0.0.5-nullsafetyCached · Upstream SHA-256 matchedDownloadd821a2ef…18fb89
2.0.0Cached · Upstream SHA-256 matchedDownloadeb58b896…cca8d4
2.0.2Cached · Upstream SHA-256 matchedDownload0d1273a8…46498e
2.0.3Cached · Upstream SHA-256 matchedDownload4e9a9637…c83a64
2.0.4Cached · Upstream SHA-256 matchedDownload96c359ca…8d7d83
2.0.5Cached · Upstream SHA-256 matchedDownload0adeb313…53a453
2.0.6Cached · Upstream SHA-256 matchedDownload2a97e7fb…086ae8
2.0.7Cached · Upstream SHA-256 matchedDownloadcd57cb98…d18a7c

Dependencies

flutter { "sdk": "flutter" }