Browse Source

[path_provider_aurora] Update docs

merge-requests/1/head
Vitaliy Zarubin 2 years ago
parent
commit
d924466cdf
  1. 6
      packages/path_provider/path_provider_aurora/README.md
  2. BIN
      packages/path_provider/path_provider_aurora/data/preview.png
  3. 17
      packages/xdga_directories/README.md

6
packages/path_provider/path_provider_aurora/README.md

@ -28,4 +28,8 @@ import 'package:path_provider/path_provider.dart';
- [ ] `getExternalStorageDirectory`
- [ ] `getExternalCacheDirectories`
- [x] `getExternalStorageDirectories` (There is no concept of External in Aurora OS, but this interface allows you to get the pictures/music/movies directory)
- [x] `getDownloadsDirectory`
- [x] `getDownloadsDirectory`
### Preview example
![preview.png](data%2Fpreview.png)

BIN
packages/path_provider/path_provider_aurora/data/preview.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

17
packages/xdga_directories/README.md

@ -4,14 +4,15 @@ A Dart package for reading directory path on Aurora OS.
To use this package, the basic XDG values for the following are available via a Dart API:
- `getCacheLocation` - User cache folder
- `getDocumentsLocation` - Documents of the user
- `getDownloadLocation` - User downloads
- `getMusicLocation` - Music and other audio files of the user
- `getPicturesLocation` - Photos and other images of the user
- `getGenericDataLocation` - General user application data
- `getMoviesLocation` - Movies and other user videos
- `getAppDataLocation` - Returns a directory location where persistent application data can be stored.
- `getCacheLocation` - Returns a directory location where user-specific non-essential (cached) data should be written.
- `getDocumentsLocation` - Returns the directory containing user document files.
- `getDownloadLocation` - Returns a directory for user's downloaded files.
- `getMusicLocation` - Returns the directory containing the user's music or other audio files.
- `getPicturesLocation` - Returns the directory containing the user's pictures or photos.
- `getGenericDataLocation` - Returns a directory location where persistent data shared across applications can be stored.
- `getMoviesLocation` - Returns the directory containing the user's movies and videos.
### Preview
### Preview example
![preview.png](data%2Fpreview.png)
Loading…
Cancel
Save