path_provider 0.1.0 path_provider: ^0.1.0 copied to clipboard
a Flutter plugin for getting commonly used locations on the filesystem.
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.
'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.