A Flutter plugin for finding commonly used locations on the filesystem. Supports iOS and Android.
To use this plugin, add
path_provider as a dependency in your pubspec.yaml file.
Directory tempDir = await getTemporaryDirectory(); String tempPath = tempDir.path; Directory appDocDir = await getApplicationDocumentsDirectory(); String appDocPath = appDocDir.path;
Please see the example app of this plugin for a full example.
Demonstrates how to use the path_provider plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: path_provider: ^0.5.0
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.5.0+1||Feb 8, 2019|
|0.5.0||Jan 24, 2019|
|0.4.1||Jun 1, 2018|
|0.4.0||Mar 9, 2018|
|0.3.1||Jan 12, 2018|
|0.3.0||Dec 20, 2017|
|0.2.2||Dec 4, 2017|
|0.2.1+1||May 17, 2017|
|0.2.0||May 10, 2017|
|0.1.3||May 9, 2017|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.