Этот репозиторий содержит Flutter плагины для платформы ОС Аврора.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Vitaliy Zarubin 8f9092fea0 [sqflite] Added link doc permissions 2 years ago
..
aurora [xdga_directories] Update readme, spec 2 years ago
data [xdga_directories] Update preview 2 years ago
example [xdga_directories] Add PathProviderAuroraPlugin 2 years ago
lib [xdga_directories] Add PathProviderAuroraPlugin 2 years ago
test [xdga_directories] Update preview 2 years ago
.gitignore [path_provider_aurora] First commit, problem with 'registerWith' 2 years ago
README.md [sqflite] Added link doc permissions 2 years ago
analysis_options.yaml [path_provider_aurora] First commit, problem with 'registerWith' 2 years ago
pubspec.yaml [sqflite] Mini fix 2 years ago

README.md

path_provider_aurora

The Aurora OS implementation of path_provider. Documentation for setting permissions can be found here.

Usage

This package is not an endorsed implementation of path_provider. Therefore, you have to include path_provider_aurora alongside path_provider as dependencies in your pubspec.yaml file.

dependencies:
  path_provider: ^2.0.14
  path_provider_aurora: ^0.0.0 # @todo Not published 

Then you can import path_provider in your Dart code:

import 'package:path_provider/path_provider.dart';

Supported APIs

  • getTemporaryDirectory
  • getApplicationSupportDirectory
  • getLibraryDirectory
  • getApplicationDocumentsDirectory
  • getExternalStorageDirectory
  • getExternalCacheDirectories
  • getExternalStorageDirectories (There is no concept of External in Aurora OS, but this interface allows you to get the pictures/music/movies directory)
  • getDownloadsDirectory

Extra methods

PathProviderAurora.getApplicationOrg(); PathProviderAurora.getApplicationName();

Preview example

preview.png