image_saver 1.0.2 copy "image_saver: ^1.0.2" to clipboard
image_saver: ^1.0.2 copied to clipboard

discontinuedreplaced by: gallery_saver

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

2
likes
20
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Image Saver plugin for Flutter, based on image_picker_saver

Repository (GitHub)
View/report issues

License

Apache-2.0, BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on image_saver