Search packages, repositories and app categories

GitHub repositoryhrvojecukman/image_downloader_web

image_downloader_web

hrvojecukman/image_downloader_web open-source repository details.

image_downloader_web project cover
Stars
4
Forks
11
Last push (UTC)
Jun 30, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Image downloader for web

Download images from URL on Flutter Web

Usage example

Download image on webb


const _url = "https://picsum.photos/200";

Future<void> _downloadImage() async {
  await WebImageDownloader.downloadImageFromWeb(_url);
}

 

Download image on web from UInt8List


final uint8List = Uint8List();

Future<void> _downloadImage() async {
  await WebImageDownloader.downloadImageFromUInt8List(uInt8List: uint8List);
}

 

Download image with reduced quality

const _url = "https://picsum.photos/200";

Future<void> _downloadImage() async {
  await WebImageDownloader.downloadImageFromWeb(_url, imageQuality: 0.5);
}

 

Download image with custom headers

const _url = "https://picsum.photos/200";

Future<void> _downloadImage() async {
  final Map<String, String> headers = {
    'authorization': token,
  };
  await WebImageDownloader.downloadImageFromWeb(_url, headers: headers);
}
Hrvoje Čukman GitHub avatar
GitHub author

Hrvoje Čukman ↗

Flutter Developer

LanguagesDartHTML

Packages published by this repository

Dependencies used

Dependency list 6 items

  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • http^1.1.0
  • web^1.1.0
  • flutter_testDevelopment{"sdk":"flutter"}
  • flutter_lintsDevelopment^2.0.2

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗