tree: 6fa49f5eaba6692a305cdb430db58c072ec2e429 [path history] [tgz]
  1. android/
  2. example/
  3. ios/
  4. lib/
  5. path_provider_macos/
  6. test/
  7. CHANGELOG.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
packages/path_provider/README.md

path_provider

pub package

A Flutter plugin for finding commonly used locations on the filesystem. Supports iOS and Android.

Usage

To use this plugin, add path_provider as a dependency in your pubspec.yaml file.

Example

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.