downloads_path_provider 0.1.0 downloads_path_provider: ^0.1.0 copied to clipboard
Flutter plugin to get the download directory for Android.
downloads_path_provider #
Flutter plugin to get the downloads directory.
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 yourAndroidManifest.xml
Example #
import 'package:downloads_path_provider/downloads_path_provider.dart';
Future<Directory> downloadsDirectory = DownloadsPathProvider.downloadsDirectory;