downloads_path_provider_28: ^0.1.2 copied to clipboard
Flutter plugin to get the download directory for Android modified for sdk version 28+. Forked from Daniel MF.
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.
- Add downloads_path_provider_28 as a dependency in your pubspec.yaml file.
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />to your
import 'package:downloads_path_provider_28/downloads_path_provider_28.dart'; Future<Directory> downloadsDirectory = DownloadsPathProvider.downloadsDirectory;