image_saver 1.0.2
image_saver: ^1.0.2

Flutter Android iOS

Image Saver plugin for Flutter, based on image_picker_saver

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);
      });
    }

1
likes
70
pub points
64%
popularity

Image Saver plugin for Flutter, based on image_picker_saver

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

luca.d.osti@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on image_saver