zmedia_saver 0.1.0

Flutter Android iOS

After taking picture from camera or from gallery, this plugin can add image path into image library (for Android only)

zmedia_saver #

Save media file to library

A Flutter plugin for Android (iOS not implemented yet) for adding image path to Image library

Installation #

First, add zmedia_saver as dependency in your pubspec.yaml file.

Example #

...
import 'package:zmedia_saver/zmedia_saver.dart';

...
  Future<void> initPlatformState() async {
    // you can get image path using path_provider
    await ZmediaSaver.saveToLibrary('/storage/emulated/0/Pictures/CameraApp/1566620744553.png');
    ...
1
likes
90
pub points
4%
popularity

After taking picture from camera or from gallery, this plugin can add image path into image library (for Android only)

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ceylon.rizan@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, path, permission_handler

More

Packages that depend on zmedia_saver