large Flutter Favorite logosmall Flutter Favorite logo

path_provider 0.1.1 icon indicating copy to clipboard operation
path_provider: ^0.1.1 copied to clipboard

outdatedDart 1 only

A Flutter plugin for getting commonly used locations on the filesystem.

path_provider #

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 #

After importing 'package:path_provider/path_provider.dart' the directories can be queried as follows

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.

4319
likes
0
pub points
100%
popularity

Publisher

verified publisher iconflutter.dev

A Flutter plugin for getting commonly used locations on the filesystem.

Repository (GitHub)
View/report issues

License

Icon for licenses.unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on path_provider