Skip to content
pubscout

flutter_image_gallery_saver

2.1.0, released 4 weeks ago by knottx.dev

Save image or video files to the device gallery on Android and iOS.

WASM-ready
$ flutter pub add flutter_image_gallery_saver
Source repository

What it does

Provides a simple API to write image bytes or file paths directly into the native photo library. Uses platform channels to invoke native code for both Android and iOS.

AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to store captured or generated media in the user's gallery
  • You want a lightweight plugin without extra UI components

Skip it when

  • You require advanced media management like albums or metadata
  • You need cross‑platform web support

Strengths

  • Minimal API, easy to call
  • Handles required permissions on Android and iOS
  • No UI dependencies

Weaknesses

  • Only supports Android and iOS, no web/desktop
  • Limited to saving, no retrieval or browsing of gallery

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Add NSPhotoLibraryAddUsageDescription to iOS Info.plist; ensure Android write permissions are granted (handled by plugin).

import 'dart:typed_data';
import 'package:flutter_image_gallery_saver/flutter_image_gallery_saver.dart';

final saver = ImageGallerySaver();
await saver.saveImage(yourUint8List);
await saver.saveFile('/path/to/file.mp4');

Alternatives

Packages that do the same job and could replace flutter_image_gallery_saver.