FLUTTER ECOSYSTEM

nplaceit/downloads_path_provider

Flutter plugin to get the download directory

downloads_path_provider project cover
Stars
11
Forks
77
Last push (UTC)
Sep 18, 2019
Project status
Archived
nPlaceIT - Tecnologia Inteligente Ltda ME GitHub avatar
LanguagesDartRubyObjective-CJava

Packages published by this repository

Dependencies used

Dependency list 1 items
  • flutter{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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;