FLUTTER ECOSYSTEM

nplaceit/downloads_path_provider

取得下載目錄的 Flutter 插件

downloads_path_provider 專案封面
Stars
11
Forks
77
最近推送(UTC)
2019年9月18日
專案狀態
已封存
nPlaceIT - Tecnologia Inteligente Ltda ME GitHub avatar
語言DartRubyObjective-CJava

此儲存庫發佈的套件

使用的依賴

依賴清單 1 項
  • flutter{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

downloads_path_provider

Flutter plugin to get the downloads directory.

This plugin has lots of inconsistencies and should no longer be used. Feel free to fork and tweak it.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

Usage

  • Add downloads_path_provider as a dependency in your pubspec.yaml file.
  • Add <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> to your AndroidManifest.xml

Example

import 'package:downloads_path_provider/downloads_path_provider.dart';  

Future<Directory> downloadsDirectory = DownloadsPathProvider.downloadsDirectory;