downloads_path_provider_28
0.1.2, released 5 years ago by an unverified publisher
Provides access to the device's downloads directory on Android and iOS.
What it does
This plugin exposes a static getter that returns the downloads directory as a Directory object. It works on both Android (SDK 28+) and iOS.
AI-written summary of version 0.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read or write files to the user's Downloads folder.
- You want a simple, single-call API without extra dependencies.
Skip it when
- You require a fully maintained, actively supported package.
- You need advanced file handling beyond just the path.
Strengths
- Simple API, single dependency.
- Cross-platform support for Android and iOS.
Weaknesses
- Documented inconsistencies and discouraged use.
- No active maintenance or updates.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> to AndroidManifest.xml
import 'package:downloads_path_provider_28/downloads_path_provider_28.dart';
Future<Directory> downloadsDirectory = DownloadsPathProvider.downloadsDirectory;Alternatives
Packages that do the same job and could replace downloads_path_provider_28.
- flutter_downloader
Plugin to create and manage background download tasks on Android and iOS.
80Compare - flutter_file_downloader
An Android plugin to download single or multiple files to public downloads or app directories.
58Compare - watcher
Monitors file system changes and notifies when files are added, removed, or modified.
82Compare - android_path_provider
Flutter plugin for getting Android directories like Downloads, Movies, and Pictures.
62Compare