Skip to content
pubscout

file_downloader_flutter

0.0.5, released 3 years ago by an unverified publisher

Download images and files from URLs to the local device file manager.

$ flutter pub add file_downloader_flutter
Source repository

What it does

Allows developers to download files and images from a provided URL directly to the file manager using Flutter. It handles the downloading process via HTTP and saves files through native file dialogs.

AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to save images or files from a URL to the user's device storage.
  • You want a simple function call to trigger file downloads.

Skip it when

  • You need advanced download queue management, background downloads, or pause/resume support.
  • You require complex file system organization beyond the basic file manager dialog.

Strengths

  • Simple and straightforward API usage.
  • Handles URL-based file saving out of the box.

Weaknesses

  • Documentation contains incorrect permission recommendations in the README (mentions RECORD_AUDIO instead of file/storage permissions).
  • Very limited configuration options documented.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Change minimum Android SDK version to 21 or higher in build.gradle, and add internet permissions in AndroidManifest.xml.

try {
  FileSaver().urlFileSaver(url: controller.text,fileName: "cat-sample_1313.jpg");
} catch(e) {
  print(e);
}

Alternatives

Packages that do the same job and could replace file_downloader_flutter.

Works with

Packages commonly used together with file_downloader_flutter: ones it builds on, ones built on it, and its own family.