Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Serjlee/image_saver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Saver plugin for Flutter

Saves photos to the gallery. Supports Android 16+ and IOS 8.0+

Usage

    import 'package:image_saver/image_saver.dart';


    void _onImageSaveButtonPressed() async {
      var response = await http
          .get('http://upload.art.ifeng.com/2017/0425/1493105660290.jpg');

      File savedFile = await ImageSaver.saveFile(fileData: response.bodyBytes);
      if (!mounted) {
        return;
      }
      setState(() {
        _imageFile = savedFile);
      });
    }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 82.1%
  • Objective-C 14.9%
  • Dart 1.7%
  • Ruby 1.3%