just_save_gallery library

A Flutter plugin for saving images and videos to the device gallery.

Supports both raw bytes and file path inputs on Android and iOS.

final gallery = JustSaveGallery();

// Save image from bytes
final path = await gallery.saveImage(bytes, name: 'photo.jpg');

// Save file from path
final path = await gallery.saveFileToGallery('/path/to/video.mp4');

Classes

JustSaveGallery
A Flutter plugin for saving images and videos to the device gallery.
SaveOptions
Options for saving media to the gallery.

Enums

MediaType
The type of media being saved to the gallery.
SaveErrorCode
Error codes returned when a save operation fails.

Exceptions / Errors

SaveException
Represents a failed save operation.