media_file_saver 0.0.2 copy "media_file_saver: ^0.0.2" to clipboard
media_file_saver: ^0.0.2 copied to clipboard

outdated

A plugin for saving images and other media files in the device's pictures directory (Android) or photo library (iOS).

media_file_saver #

🖼️ A plugin for saving images and other media files in the device's pictures directory (Android) or photo library (iOS).

Features #

  • Simplified image and media file download
  • Supports PNG, JPG, JPEG, GIF, MP3 and more
  • Implements native permission (Android) and authorization requests (iOS)

Installation #

Add it to your pubspec.yaml file

dependencies:
   media_file_saver: ^0.0.2

Install it

pub get

Import it

import 'package:media_file_saver/media_file_saver.dart;

Usage #

Eg. Saving image from cache

// Getting the cached image
final file = await DefaultCacheManager().getSingleFile("https//example.com/profile-picture.png");

// Downloading the image file to your photo library
await MediaFileSaver.saveImage(file.readAsBytes());

License #

MIT @joshuadeguzman

5
likes
0
pub points
40%
popularity

Publisher

verified publisherjoshuamdeguzman.com

A plugin for saving images and other media files in the device's pictures directory (Android) or photo library (iOS).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on media_file_saver